#871B76#871B76

#871B76 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.172 H 335.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#871B76
RGBrgb(135, 27, 118)
HSLhsl(309, 67%, 32%)
HSVhsv(309, 80%, 53%)
CMYKcmyk(0%, 80%, 12.6%, 47.1%)
CIE-LABlab(32.36, 53.43, -26.02)
CIE-LCHlch(32.36, 59.43, 334.04°)
OKLaboklab(43.97% 0.1565 -0.0711)
OKLCHoklch(43.97% 0.172 335.6)
XYZxyz(13.6538, 7.2440, 17.8152)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B76 #1B872C
analogous
#621B87 #871B76 #871B40
triadic
#871B76 #76871B #1B7687
tetradic
#871B76 #87621B #1B872C #1B4087
square
#871B76 #87621B #1B872C #1B4087
split-complementary
#871B76 #40871B #1B8762
monochromatic
#21071D #541149 #871B76 #BA25A3 #D943C2

Accessibility & contrast

On white

8.58
#871B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#871B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B76
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B76#FFFFFF#000000##FFFFFF
##871B761.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#8E2447
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871b76;
/* rgb */ color: rgb(135, 27, 118);
/* oklch */ color: oklch(44.0% 0.172 335.6);
Tailwind
colors: {
  custom: {
    50: '#ae659e',
    500: '#871b76',
    950: '#000000',
  },
}
SCSS
$custom: #871b76;
$custom-light: #ae659e;
$custom-dark: #000000;
JSON
{
  "hex": "#871b76",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 309.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.17188,
    "h": 335.6
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#871B76
secondary
#44BA56
accent
#EA593E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B76

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

Preview Lab → · Contrast checker → · Palette generator →

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