#9872CC
Purple
HEX
RGB
HSL
About #9872CC Purple
#9872CC is a purple color. In the RGB color model, it is composed of 152 red, 114 green, and 204 blue. In the HSL color space, it has a hue of 265°, saturation of 47%, and lightness of 62%.
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 #9872CC in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
265°
Hue
47%
Saturation
62%
Lightness
Purple
Color Harmonies
Colors that work well with #9872CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9872CC against white and black backgrounds.
Aa#9872CC on White
Contrast Ratio3.74:1
AA ✗AA Large ✓AAA ✗
Aa#9872CC on Black
Contrast Ratio5.61:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9872CC across different color formats.
| Format | Value |
|---|---|
| HEX | #9872CC |
| RGB | rgb(152, 114, 204) |
| HSL | hsl(265, 47%, 62%) |
| RGB Decimal | 152, 114, 204 |
| RGB Percent | 59.6%, 44.7%, 80.0% |
| CMYK (approx.) | 25%, 44%, 0%, 20% |
Related Palettes
12 palettes using #9872CC or similar colors