#871D77#871D77

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

Color values

HEX#871D77
RGBrgb(135, 29, 119)
HSLhsl(309, 65%, 32%)
HSVhsv(309, 79%, 53%)
CMYKcmyk(0%, 78.5%, 11.9%, 47.1%)
CIE-LABlab(32.62, 52.98, -26.24)
CIE-LCHlch(32.62, 59.12, 333.66°)
OKLaboklab(44.18% 0.1548 -0.0717)
OKLCHoklch(44.18% 0.171 335.1)
XYZxyz(13.7610, 7.3628, 18.1456)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D77 #1D872D
analogous
#621D87 #871D77 #871D42
triadic
#871D77 #77871D #1D7787
tetradic
#871D77 #87621D #1D872D #1D4287
square
#871D77 #87621D #1D872D #1D4287
split-complementary
#871D77 #42871D #1D8762
monochromatic
#22071E #55124B #871D77 #B928A3 #D747C2

Accessibility & contrast

On white

8.49
#871D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D77
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D77#FFFFFF#000000##FFFFFF
##871D771.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d77;
/* rgb */ color: rgb(135, 29, 119);
/* oklch */ color: oklch(44.2% 0.171 335.1);
Tailwind
colors: {
  custom: {
    50: '#ad669e',
    500: '#871d77',
    950: '#000000',
  },
}
SCSS
$custom: #871d77;
$custom-light: #ad669e;
$custom-dark: #000000;
JSON
{
  "hex": "#871d77",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 309.057,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.17059,
    "h": 335.1
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#871D77
secondary
#46B958
accent
#E85940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D77

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

Preview Lab → · Contrast checker → · Palette generator →

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