#871687#871687

#871687 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.189 H 328.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#871687
RGBrgb(135, 22, 135)
HSLhsl(300, 72%, 31%)
HSVhsv(300, 84%, 53%)
CMYKcmyk(0%, 83.7%, 0%, 47.1%)
CIE-LABlab(32.86, 57.47, -35.87)
CIE-LCHlch(32.86, 67.74, 328.03°)
OKLaboklab(44.65% 0.1605 -0.0996)
OKLCHoklch(44.65% 0.189 328.2)
XYZxyz(14.6516, 7.4751, 23.5881)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871687 #168716
analogous
#4E1687 #871687 #87164E
triadic
#871687 #878716 #168787
tetradic
#871687 #874E16 #168716 #164E87
square
#871687 #874E16 #168716 #164E87
split-complementary
#871687 #4E8716 #16874E
monochromatic
#1E051E #520D52 #871687 #BC1FBC #DF39DF

Accessibility & contrast

On white

8.42
#871687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#871687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871687
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871687#FFFFFF#000000##FFFFFF
##8716871.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#8C2B50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871687;
/* rgb */ color: rgb(135, 22, 135);
/* oklch */ color: oklch(44.6% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#ae64aa',
    500: '#871687',
    950: '#000000',
  },
}
SCSS
$custom: #871687;
$custom-light: #ae64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871687",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.18887,
    "h": 328.2
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#871687
secondary
#3EBB3E
accent
#EF3939
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871687

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

Preview Lab → · Contrast checker → · Palette generator →

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