#8E21A6
Purple
HEX
RGB
HSL
About #8E21A6 Purple
#8E21A6 is a purple color. In the RGB color model, it is composed of 142 red, 33 green, and 166 blue. In the HSL color space, it has a hue of 289°, saturation of 67%, and lightness of 39%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #8E21A6 in your CSS, SCSS, or Tailwind projects.
Color Properties
289°
Hue
67%
Saturation
39%
Lightness
Purple
Color Harmonies
Colors that work well with #8E21A6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8E21A6 against white and black backgrounds.
Aa#8E21A6 on White
Contrast Ratio7.2:1
AA ✓AA Large ✓AAA ✓
Aa#8E21A6 on Black
Contrast Ratio2.92:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #8E21A6 across different color formats.
| Format | Value |
|---|---|
| HEX | #8E21A6 |
| RGB | rgb(142, 33, 166) |
| HSL | hsl(289, 67%, 39%) |
| RGB Decimal | 142, 33, 166 |
| RGB Percent | 55.7%, 12.9%, 65.1% |
| CMYK (approx.) | 14%, 80%, 0%, 35% |
Related Palettes
12 palettes using #8E21A6 or similar colors