#871D76#871D76

#871D76 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.170 H 335.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#871D76
RGBrgb(135, 29, 118)
HSLhsl(310, 65%, 32%)
HSVhsv(310, 79%, 53%)
CMYKcmyk(0%, 78.5%, 12.6%, 47.1%)
CIE-LABlab(32.57, 52.83, -25.69)
CIE-LCHlch(32.57, 58.74, 334.07°)
OKLaboklab(44.12% 0.1547 -0.0702)
OKLCHoklch(44.12% 0.17 335.6)
XYZxyz(13.7013, 7.3389, 17.8310)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D76 #1D872E
analogous
#631D87 #871D76 #871D41
triadic
#871D76 #76871D #1D7687
tetradic
#871D76 #87631D #1D872E #1D4187
square
#871D76 #87631D #1D872E #1D4187
split-complementary
#871D76 #41871D #1D8763
monochromatic
#22071E #55124A #871D76 #B928A2 #D747C0

Accessibility & contrast

On white

8.51
#871D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D76
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D76#FFFFFF#000000##FFFFFF
##871D761.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#8E2648
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871d76;
/* rgb */ color: rgb(135, 29, 118);
/* oklch */ color: oklch(44.1% 0.170 335.6);
Tailwind
colors: {
  custom: {
    50: '#ad669e',
    500: '#871d76',
    950: '#000000',
  },
}
SCSS
$custom: #871d76;
$custom-light: #ad669e;
$custom-dark: #000000;
JSON
{
  "hex": "#871d76",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 309.623,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.16987,
    "h": 335.6
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#871D76
secondary
#46B959
accent
#E85B40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D76

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

Preview Lab → · Contrast checker → · Palette generator →

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