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