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