#871C86#871C86

#871C86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 328.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#871C86
RGBrgb(135, 28, 134)
HSLhsl(301, 66%, 32%)
HSVhsv(301, 79%, 53%)
CMYKcmyk(0%, 79.3%, 0.7%, 47.1%)
CIE-LABlab(33.36, 55.70, -34.46)
CIE-LCHlch(33.36, 65.50, 328.25°)
OKLaboklab(44.98% 0.156 -0.0955)
OKLCHoklch(44.98% 0.183 328.5)
XYZxyz(14.7099, 7.7037, 23.2619)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C86 #1C871D
analogous
#531C87 #871C86 #871C51
triadic
#871C86 #86871C #1C8687
tetradic
#871C86 #87531C #1C871D #1C5187
square
#871C86 #87531C #1C871D #1C5187
split-complementary
#871C86 #51871C #1C8753
monochromatic
#220721 #541154 #871C86 #BA27B8 #D845D7

Accessibility & contrast

On white

8.27
#871C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#871C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C86
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C86#FFFFFF#000000##FFFFFF
##871C861.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#3C5383
Tritanopia (blue-blind)
#8C2E51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871c86;
/* rgb */ color: rgb(135, 28, 134);
/* oklch */ color: oklch(45.0% 0.183 328.5);
Tailwind
colors: {
  custom: {
    50: '#ae66aa',
    500: '#871c86',
    950: '#000000',
  },
}
SCSS
$custom: #871c86;
$custom-light: #ae66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871c86",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 300.561,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.1829,
    "h": 328.5
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#871C86
secondary
#45BA46
accent
#E9413F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871C86

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#871C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva