#871686#871686

#871686 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.188 H 328.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#871686
RGBrgb(135, 22, 134)
HSLhsl(301, 72%, 31%)
HSVhsv(301, 84%, 53%)
CMYKcmyk(0%, 83.7%, 0.7%, 47.1%)
CIE-LABlab(32.80, 57.30, -35.34)
CIE-LCHlch(32.80, 67.33, 328.33°)
OKLaboklab(44.59% 0.1605 -0.098)
OKLCHoklch(44.59% 0.188 328.6)
XYZxyz(14.5815, 7.4471, 23.2191)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871686 #168717
analogous
#4F1687 #871686 #87164D
triadic
#871686 #868716 #168687
tetradic
#871686 #874F16 #168717 #164D87
square
#871686 #874F16 #168717 #164D87
split-complementary
#871686 #4D8716 #16874F
monochromatic
#1E051E #520D52 #871686 #BC1FBA #DF39DD

Accessibility & contrast

On white

8.44
#871686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871686
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871686#FFFFFF#000000##FFFFFF
##8716861.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#8C2B4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871686;
/* rgb */ color: rgb(135, 22, 134);
/* oklch */ color: oklch(44.6% 0.188 328.6);
Tailwind
colors: {
  custom: {
    50: '#ae64aa',
    500: '#871686',
    950: '#000000',
  },
}
SCSS
$custom: #871686;
$custom-light: #ae64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871686",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 300.531,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.18811,
    "h": 328.6
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#871686
secondary
#3EBB3F
accent
#EF3B39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871686

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

Preview Lab → · Contrast checker → · Palette generator →

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