#871E76#871E76

#871E76 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 335.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#871E76
RGBrgb(135, 30, 118)
HSLhsl(310, 64%, 32%)
HSVhsv(310, 78%, 53%)
CMYKcmyk(0%, 77.8%, 12.6%, 47.1%)
CIE-LABlab(32.68, 52.52, -25.51)
CIE-LCHlch(32.68, 58.39, 334.09°)
OKLaboklab(44.2% 0.1538 -0.0697)
OKLCHoklch(44.2% 0.169 335.6)
XYZxyz(13.7262, 7.3887, 17.8393)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E76 #1E872F
analogous
#631E87 #871E76 #871E42
triadic
#871E76 #76871E #1E7687
tetradic
#871E76 #87631E #1E872F #1E4287
square
#871E76 #87631E #1E872F #1E4287
split-complementary
#871E76 #42871E #1E8763
monochromatic
#23081E #55134A #871E76 #B929A2 #D749C0

Accessibility & contrast

On white

8.48
#871E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#871E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E76
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E76#FFFFFF#000000##FFFFFF
##871E761.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e76;
/* rgb */ color: rgb(135, 30, 118);
/* oklch */ color: oklch(44.2% 0.169 335.6);
Tailwind
colors: {
  custom: {
    50: '#ad669e',
    500: '#871e76',
    950: '#000000',
  },
}
SCSS
$custom: #871e76;
$custom-light: #ad669e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e76",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 309.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.16882,
    "h": 335.6
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#871E76
secondary
#48B95A
accent
#E75C41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E76

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

Preview Lab → · Contrast checker → · Palette generator →

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