#9A87E3
Purple
HEX
RGB
HSL
About #9A87E3 Purple
#9A87E3 is a purple color. In the RGB color model, it is composed of 154 red, 135 green, and 227 blue. In the HSL color space, it has a hue of 252°, saturation of 62%, and lightness of 71%.
This color has a high lightness value, making it a light color suitable for backgrounds. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #9A87E3 in your CSS, SCSS, or Tailwind projects.
Color Properties
252°
Hue
62%
Saturation
71%
Lightness
Purple
Color Harmonies
Colors that work well with #9A87E3 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9A87E3 against white and black backgrounds.
Aa#9A87E3 on White
Contrast Ratio3.02:1
AA ✗AA Large ✓AAA ✗
Aa#9A87E3 on Black
Contrast Ratio6.95:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9A87E3 across different color formats.
| Format | Value |
|---|---|
| HEX | #9A87E3 |
| RGB | rgb(154, 135, 227) |
| HSL | hsl(252, 62%, 71%) |
| RGB Decimal | 154, 135, 227 |
| RGB Percent | 60.4%, 52.9%, 89.0% |
| CMYK (approx.) | 32%, 41%, 0%, 11% |
Related Palettes
12 palettes using #9A87E3 or similar colors