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