#871C85#871C85

#871C85 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 328.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#871C85
RGBrgb(135, 28, 133)
HSLhsl(301, 66%, 32%)
HSVhsv(301, 79%, 53%)
CMYKcmyk(0%, 79.3%, 1.5%, 47.1%)
CIE-LABlab(33.30, 55.53, -33.93)
CIE-LCHlch(33.30, 65.08, 328.57°)
OKLaboklab(44.92% 0.156 -0.094)
OKLCHoklch(44.92% 0.182 328.9)
XYZxyz(14.6404, 7.6760, 22.8963)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C85 #1C871E
analogous
#531C87 #871C85 #871C50
triadic
#871C85 #85871C #1C8587
tetradic
#871C85 #87531C #1C871E #1C5087
square
#871C85 #87531C #1C871E #1C5087
split-complementary
#871C85 #50871C #1C8753
monochromatic
#220721 #541153 #871C85 #BA27B7 #D845D6

Accessibility & contrast

On white

8.28
#871C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#871C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C85
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C85#FFFFFF#000000##FFFFFF
##871C851.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044588
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#8C2D50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871c85;
/* rgb */ color: rgb(135, 28, 133);
/* oklch */ color: oklch(44.9% 0.182 328.9);
Tailwind
colors: {
  custom: {
    50: '#ae66a9',
    500: '#871c85',
    950: '#000000',
  },
}
SCSS
$custom: #871c85;
$custom-light: #ae66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871c85",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 301.121,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.18212,
    "h": 328.9
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#871C85
secondary
#45BA47
accent
#E9423F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871C85

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

Preview Lab → · Contrast checker → · Palette generator →

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