#871E79#871E79

#871E79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 334.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#871E79
RGBrgb(135, 30, 121)
HSLhsl(308, 64%, 32%)
HSVhsv(308, 78%, 53%)
CMYKcmyk(0%, 77.8%, 10.4%, 47.1%)
CIE-LABlab(32.83, 52.98, -27.16)
CIE-LCHlch(32.83, 59.54, 332.86°)
OKLaboklab(44.37% 0.154 -0.0744)
OKLCHoklch(44.37% 0.171 334.2)
XYZxyz(13.9073, 7.4611, 18.7931)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E79 #1E872C
analogous
#611E87 #871E79 #871E45
triadic
#871E79 #79871E #1E7987
tetradic
#871E79 #87611E #1E872C #1E4587
square
#871E79 #87611E #1E872C #1E4587
split-complementary
#871E79 #45871E #1E8761
monochromatic
#23081F #55134C #871E79 #B929A6 #D749C4

Accessibility & contrast

On white

8.43
#871E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#871E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E79
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E79#FFFFFF#000000##FFFFFF
##871E791.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#8E284A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871e79;
/* rgb */ color: rgb(135, 30, 121);
/* oklch */ color: oklch(44.4% 0.171 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad66a0',
    500: '#871e79',
    950: '#000000',
  },
}
SCSS
$custom: #871e79;
$custom-light: #ad66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#871e79",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 308,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.17102,
    "h": 334.2
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#871E79
secondary
#48B957
accent
#E75741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E79

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

Preview Lab → · Contrast checker → · Palette generator →

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