#871685#871685

#871685 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 329.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#871685
RGBrgb(135, 22, 133)
HSLhsl(301, 72%, 31%)
HSVhsv(301, 84%, 53%)
CMYKcmyk(0%, 83.7%, 1.5%, 47.1%)
CIE-LABlab(32.74, 57.14, -34.82)
CIE-LCHlch(32.74, 66.91, 328.64°)
OKLaboklab(44.52% 0.1606 -0.0965)
OKLCHoklch(44.52% 0.187 329)
XYZxyz(14.5121, 7.4193, 22.8535)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871685 #168718
analogous
#501687 #871685 #87164C
triadic
#871685 #858716 #168587
tetradic
#871685 #875016 #168718 #164C87
square
#871685 #875016 #168718 #164C87
split-complementary
#871685 #4C8716 #168750
monochromatic
#1E051D #520D51 #871685 #BC1FB9 #DF39DC

Accessibility & contrast

On white

8.46
#871685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#871685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871685
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871685#FFFFFF#000000##FFFFFF
##8716851.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#8C2A4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871685;
/* rgb */ color: rgb(135, 22, 133);
/* oklch */ color: oklch(44.5% 0.187 329.0);
Tailwind
colors: {
  custom: {
    50: '#ae64a9',
    500: '#871685',
    950: '#000000',
  },
}
SCSS
$custom: #871685;
$custom-light: #ae64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871685",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 301.062,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.18736,
    "h": 329
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#871685
secondary
#3EBB40
accent
#EF3C39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871685

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

Preview Lab → · Contrast checker → · Palette generator →

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