#9872E3
Purple
HEX
RGB
HSL
About #9872E3 Purple
#9872E3 is a purple color. In the RGB color model, it is composed of 152 red, 114 green, and 227 blue. In the HSL color space, it has a hue of 260°, saturation of 67%, and lightness of 67%.
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 #9872E3 in your CSS, SCSS, or Tailwind projects.
Color Properties
260°
Hue
67%
Saturation
67%
Lightness
Purple
Color Harmonies
Colors that work well with #9872E3 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9872E3 against white and black backgrounds.
Aa#9872E3 on White
Contrast Ratio3.59:1
AA ✗AA Large ✓AAA ✗
Aa#9872E3 on Black
Contrast Ratio5.85:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9872E3 across different color formats.
| Format | Value |
|---|---|
| HEX | #9872E3 |
| RGB | rgb(152, 114, 227) |
| HSL | hsl(260, 67%, 67%) |
| RGB Decimal | 152, 114, 227 |
| RGB Percent | 59.6%, 44.7%, 89.0% |
| CMYK (approx.) | 33%, 50%, 0%, 11% |
Related Palettes
12 palettes using #9872E3 or similar colors