#871C83#871C83

#871C83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.181 H 329.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#871C83
RGBrgb(135, 28, 131)
HSLhsl(302, 66%, 32%)
HSVhsv(302, 79%, 53%)
CMYKcmyk(0%, 79.3%, 3%, 47.1%)
CIE-LABlab(33.18, 55.20, -32.88)
CIE-LCHlch(33.18, 64.25, 329.22°)
OKLaboklab(44.8% 0.156 -0.0909)
OKLCHoklch(44.8% 0.181 329.8)
XYZxyz(14.5036, 7.6212, 22.1755)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C83 #1C8720
analogous
#561C87 #871C83 #871C4E
triadic
#871C83 #83871C #1C8387
tetradic
#871C83 #87561C #1C8720 #1C4E87
square
#871C83 #87561C #1C8720 #1C4E87
split-complementary
#871C83 #4E871C #1C8756
monochromatic
#220721 #541152 #871C83 #BA27B4 #D845D3

Accessibility & contrast

On white

8.32
#871C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#871C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C83
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C83#FFFFFF#000000##FFFFFF
##871C831.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094586
Deuteranopia (green-blind)
#3D5380
Tritanopia (blue-blind)
#8C2C4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871c83;
/* rgb */ color: rgb(135, 28, 131);
/* oklch */ color: oklch(44.8% 0.181 329.8);
Tailwind
colors: {
  custom: {
    50: '#ae66a7',
    500: '#871c83',
    950: '#000000',
  },
}
SCSS
$custom: #871c83;
$custom-light: #ae66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871c83",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 302.243,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.18058,
    "h": 329.8
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#871C83
secondary
#45BA49
accent
#E9463F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871C83

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

Preview Lab → · Contrast checker → · Palette generator →

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