#871B86#871B86

#871B86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 328.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#871B86
RGBrgb(135, 27, 134)
HSLhsl(301, 67%, 32%)
HSVhsv(301, 80%, 53%)
CMYKcmyk(0%, 80%, 0.7%, 47.1%)
CIE-LABlab(33.26, 55.99, -34.62)
CIE-LCHlch(33.26, 65.83, 328.27°)
OKLaboklab(44.91% 0.1568 -0.096)
OKLCHoklch(44.91% 0.184 328.5)
XYZxyz(14.6865, 7.6571, 23.2541)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B86 #1B871C
analogous
#521B87 #871B86 #871B50
triadic
#871B86 #86871B #1B8687
tetradic
#871B86 #87521B #1B871C #1B5087
square
#871B86 #87521B #1B871C #1B5087
split-complementary
#871B86 #50871B #1B8752
monochromatic
#210721 #541153 #871B86 #BA25B9 #D943D8

Accessibility & contrast

On white

8.30
#871B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#871B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B86
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B86#FFFFFF#000000##FFFFFF
##871B861.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.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: #871b86;
/* rgb */ color: rgb(135, 27, 134);
/* oklch */ color: oklch(44.9% 0.184 328.5);
Tailwind
colors: {
  custom: {
    50: '#ae66aa',
    500: '#871b86',
    950: '#000000',
  },
}
SCSS
$custom: #871b86;
$custom-light: #ae66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871b86",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 300.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44908,
    "c": 0.18384,
    "h": 328.5
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#871B86
secondary
#44BA45
accent
#EA403E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871B86

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

Preview Lab → · Contrast checker → · Palette generator →

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