#871777#871777

#871777 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 335.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#871777
RGBrgb(135, 23, 119)
HSLhsl(309, 71%, 31%)
HSVhsv(309, 83%, 53%)
CMYKcmyk(0%, 83%, 11.9%, 47.1%)
CIE-LABlab(32.03, 54.69, -27.17)
CIE-LCHlch(32.03, 61.06, 333.58°)
OKLaboklab(43.75% 0.1598 -0.0744)
OKLCHoklch(43.75% 0.176 335)
XYZxyz(13.6280, 7.0969, 18.1013)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871777 #178727
analogous
#5F1787 #871777 #87173F
triadic
#871777 #778717 #177787
tetradic
#871777 #875F17 #178727 #173F87
square
#871777 #875F17 #178727 #173F87
split-complementary
#871777 #3F8717 #17875F
monochromatic
#1E051B #530E49 #871777 #BB20A5 #DE3BC6

Accessibility & contrast

On white

8.68
#871777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871777
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871777#FFFFFF#000000##FFFFFF
##8717771.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#8E2247
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871777;
/* rgb */ color: rgb(135, 23, 119);
/* oklch */ color: oklch(43.8% 0.176 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae649e',
    500: '#871777',
    950: '#000000',
  },
}
SCSS
$custom: #871777;
$custom-light: #ae649e;
$custom-dark: #000000;
JSON
{
  "hex": "#871777",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 308.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.17629,
    "h": 335
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#871777
secondary
#3FBB51
accent
#EE543A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871777

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

Preview Lab → · Contrast checker → · Palette generator →

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