#7A31D3
Purple
HEX
RGB
HSL
About #7A31D3 Purple
#7A31D3 is a purple color. In the RGB color model, it is composed of 122 red, 49 green, and 211 blue. In the HSL color space, it has a hue of 267°, saturation of 65%, and lightness of 51%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #7A31D3 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
267°
Hue
65%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #7A31D3 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7A31D3 against white and black backgrounds.
Aa#7A31D3 on White
Contrast Ratio6.55:1
AA ✓AA Large ✓AAA ✗
Aa#7A31D3 on Black
Contrast Ratio3.21:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7A31D3 across different color formats.
| Format | Value |
|---|---|
| HEX | #7A31D3 |
| RGB | rgb(122, 49, 211) |
| HSL | hsl(267, 65%, 51%) |
| RGB Decimal | 122, 49, 211 |
| RGB Percent | 47.8%, 19.2%, 82.7% |
| CMYK (approx.) | 42%, 77%, 0%, 17% |
Related Palettes
12 palettes using #7A31D3 or similar colors