#871E77#871E77

#871E77 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 335.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#871E77
RGBrgb(135, 30, 119)
HSLhsl(309, 64%, 32%)
HSVhsv(309, 78%, 53%)
CMYKcmyk(0%, 77.8%, 11.9%, 47.1%)
CIE-LABlab(32.73, 52.67, -26.06)
CIE-LCHlch(32.73, 58.77, 333.67°)
OKLaboklab(44.26% 0.1538 -0.0712)
OKLCHoklch(44.26% 0.17 335.2)
XYZxyz(13.7859, 7.4126, 18.1539)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E77 #1E872E
analogous
#631E87 #871E77 #871E42
triadic
#871E77 #77871E #1E7787
tetradic
#871E77 #87631E #1E872E #1E4287
square
#871E77 #87631E #1E872E #1E4287
split-complementary
#871E77 #42871E #1E8763
monochromatic
#23081F #55134B #871E77 #B929A3 #D749C1

Accessibility & contrast

On white

8.46
#871E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E77
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E77#FFFFFF#000000##FFFFFF
##871E771.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#445275
Tritanopia (blue-blind)
#8E2749
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871e77;
/* rgb */ color: rgb(135, 30, 119);
/* oklch */ color: oklch(44.3% 0.170 335.2);
Tailwind
colors: {
  custom: {
    50: '#ad669e',
    500: '#871e77',
    950: '#000000',
  },
}
SCSS
$custom: #871e77;
$custom-light: #ad669e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e77",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 309.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44256,
    "c": 0.16955,
    "h": 335.2
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#871E77
secondary
#48B959
accent
#E75A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E77

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

Preview Lab → · Contrast checker → · Palette generator →

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