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