#871677#871677

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

Color values

HEX#871677
RGBrgb(135, 22, 119)
HSLhsl(308, 72%, 31%)
HSVhsv(308, 84%, 53%)
CMYKcmyk(0%, 83.7%, 11.9%, 47.1%)
CIE-LABlab(31.94, 54.94, -27.31)
CIE-LCHlch(31.94, 61.35, 333.57°)
OKLaboklab(43.69% 0.1606 -0.0748)
OKLCHoklch(43.69% 0.177 335)
XYZxyz(13.6086, 7.0579, 18.0948)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871677 #168726
analogous
#5E1687 #871677 #87163E
triadic
#871677 #778716 #167787
tetradic
#871677 #875E16 #168726 #163E87
square
#871677 #875E16 #168726 #163E87
split-complementary
#871677 #3E8716 #16875E
monochromatic
#1E051A #520D49 #871677 #BC1FA5 #DF39C7

Accessibility & contrast

On white

8.71
#871677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871677
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871677#FFFFFF#000000##FFFFFF
##8716771.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871677;
/* rgb */ color: rgb(135, 22, 119);
/* oklch */ color: oklch(43.7% 0.177 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae639e',
    500: '#871677',
    950: '#000000',
  },
}
SCSS
$custom: #871677;
$custom-light: #ae639e;
$custom-dark: #000000;
JSON
{
  "hex": "#871677",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 308.496,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.17714,
    "h": 335
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#871677
secondary
#3EBB4F
accent
#EF5339
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871677

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

Preview Lab → · Contrast checker → · Palette generator →

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