#8B21A6
Purple
HEX
RGB
HSL
About #8B21A6 Purple
#8B21A6 is a purple color. In the RGB color model, it is composed of 139 red, 33 green, and 166 blue. In the HSL color space, it has a hue of 288°, 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 & Gradients
Use #8B21A6 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
288°
Hue
67%
Saturation
39%
Lightness
Purple
Color Harmonies
Colors that work well with #8B21A6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8B21A6 against white and black backgrounds.
Aa#8B21A6 on White
Contrast Ratio7.33:1
AA ✓AA Large ✓AAA ✓
Aa#8B21A6 on Black
Contrast Ratio2.87:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #8B21A6 across different color formats.
| Format | Value |
|---|---|
| HEX | #8B21A6 |
| RGB | rgb(139, 33, 166) |
| HSL | hsl(288, 67%, 39%) |
| RGB Decimal | 139, 33, 166 |
| RGB Percent | 54.5%, 12.9%, 65.1% |
| CMYK (approx.) | 16%, 80%, 0%, 35% |
Related Palettes
12 palettes using #8B21A6 or similar colors