#871BA1
Purple
HEX
RGB
HSL
About #871BA1 Purple
#871BA1 is a purple color. In the RGB color model, it is composed of 135 red, 27 green, and 161 blue. In the HSL color space, it has a hue of 288°, saturation of 71%, and lightness of 37%.
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 #871BA1 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
288°
Hue
71%
Saturation
37%
Lightness
Purple
Color Harmonies
Colors that work well with #871BA1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #871BA1 against white and black backgrounds.
Aa#871BA1 on White
Contrast Ratio7.77:1
AA ✓AA Large ✓AAA ✓
Aa#871BA1 on Black
Contrast Ratio2.7:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #871BA1 across different color formats.
| Format | Value |
|---|---|
| HEX | #871BA1 |
| RGB | rgb(135, 27, 161) |
| HSL | hsl(288, 71%, 37%) |
| RGB Decimal | 135, 27, 161 |
| RGB Percent | 52.9%, 10.6%, 63.1% |
| CMYK (approx.) | 16%, 83%, 0%, 37% |
Related Palettes
12 palettes using #871BA1 or similar colors