#7D31C9
Purple
HEX
RGB
HSL
About #7D31C9 Purple
#7D31C9 is a purple color. In the RGB color model, it is composed of 125 red, 49 green, and 201 blue. In the HSL color space, it has a hue of 270°, saturation of 61%, and lightness of 49%.
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
Use #7D31C9 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
61%
Saturation
49%
Lightness
Purple
Color Harmonies
Colors that work well with #7D31C9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7D31C9 against white and black backgrounds.
Aa#7D31C9 on White
Contrast Ratio6.66:1
AA ✓AA Large ✓AAA ✗
Aa#7D31C9 on Black
Contrast Ratio3.15:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7D31C9 across different color formats.
| Format | Value |
|---|---|
| HEX | #7D31C9 |
| RGB | rgb(125, 49, 201) |
| HSL | hsl(270, 61%, 49%) |
| RGB Decimal | 125, 49, 201 |
| RGB Percent | 49.0%, 19.2%, 78.8% |
| CMYK (approx.) | 38%, 76%, 0%, 21% |
Related Palettes
12 palettes using #7D31C9 or similar colors