#871A86#871A86

#871A86 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 328.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#871A86
RGBrgb(135, 26, 134)
HSLhsl(301, 68%, 32%)
HSVhsv(301, 81%, 53%)
CMYKcmyk(0%, 80.7%, 0.7%, 47.1%)
CIE-LABlab(33.16, 56.27, -34.77)
CIE-LCHlch(33.16, 66.14, 328.28°)
OKLaboklab(44.84% 0.1576 -0.0964)
OKLCHoklch(44.84% 0.185 328.5)
XYZxyz(14.6640, 7.6120, 23.2466)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A86 #1A871B
analogous
#521A87 #871A86 #871A50
triadic
#871A86 #86871A #1A8687
tetradic
#871A86 #87521A #1A871B #1A5087
square
#871A86 #87521A #1A871B #1A5087
split-complementary
#871A86 #50871A #1A8752
monochromatic
#200620 #541053 #871A86 #BA24B9 #DA41D9

Accessibility & contrast

On white

8.33
#871A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#871A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A86
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A86#FFFFFF#000000##FFFFFF
##871A861.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#8C2D50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871a86;
/* rgb */ color: rgb(135, 26, 134);
/* oklch */ color: oklch(44.8% 0.185 328.5);
Tailwind
colors: {
  custom: {
    50: '#ae65aa',
    500: '#871a86',
    950: '#000000',
  },
}
SCSS
$custom: #871a86;
$custom-light: #ae65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871a86",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 300.55,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.18474,
    "h": 328.5
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#871A86
secondary
#42BA44
accent
#EB3F3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871A86

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

Preview Lab → · Contrast checker → · Palette generator →

#871A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva