#871CA8
Purple
HEX
RGB
HSL
About #871CA8 Purple
#871CA8 is a purple color. In the RGB color model, it is composed of 135 red, 28 green, and 168 blue. In the HSL color space, it has a hue of 286°, saturation of 71%, and lightness of 38%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #871CA8 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
286°
Hue
71%
Saturation
38%
Lightness
Purple
Color Harmonies
Colors that work well with #871CA8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #871CA8 against white and black backgrounds.
Aa#871CA8 on White
Contrast Ratio7.6:1
AA ✓AA Large ✓AAA ✓
Aa#871CA8 on Black
Contrast Ratio2.76:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #871CA8 across different color formats.
| Format | Value |
|---|---|
| HEX | #871CA8 |
| RGB | rgb(135, 28, 168) |
| HSL | hsl(286, 71%, 38%) |
| RGB Decimal | 135, 28, 168 |
| RGB Percent | 52.9%, 11.0%, 65.9% |
| CMYK (approx.) | 20%, 83%, 0%, 34% |
Related Palettes
12 palettes using #871CA8 or similar colors