#871977#871977

#871977 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.174 H 335.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#871977
RGBrgb(135, 25, 119)
HSLhsl(309, 69%, 31%)
HSVhsv(309, 81%, 53%)
CMYKcmyk(0%, 81.5%, 11.9%, 47.1%)
CIE-LABlab(32.21, 54.15, -26.88)
CIE-LCHlch(32.21, 60.46, 333.61°)
OKLaboklab(43.89% 0.1582 -0.0735)
OKLCHoklch(43.89% 0.175 335.1)
XYZxyz(13.6693, 7.1793, 18.1150)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871977 #198729
analogous
#601987 #871977 #871940
triadic
#871977 #778719 #197787
tetradic
#871977 #876019 #198729 #194087
square
#871977 #876019 #198729 #194087
split-complementary
#871977 #408719 #198760
monochromatic
#20061C #530F49 #871977 #BB23A5 #DB3FC5

Accessibility & contrast

On white

8.62
#871977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871977
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871977#FFFFFF#000000##FFFFFF
##8719771.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184279
Deuteranopia (green-blind)
#435175
Tritanopia (blue-blind)
#8E2448
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871977;
/* rgb */ color: rgb(135, 25, 119);
/* oklch */ color: oklch(43.9% 0.174 335.1);
Tailwind
colors: {
  custom: {
    50: '#ae649e',
    500: '#871977',
    950: '#000000',
  },
}
SCSS
$custom: #871977;
$custom-light: #ae649e;
$custom-dark: #000000;
JSON
{
  "hex": "#871977",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 308.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.1745,
    "h": 335.1
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#871977
secondary
#41BA53
accent
#EC563C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871977

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

Preview Lab → · Contrast checker → · Palette generator →

#871977 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva