#871E86#871E86

#871E86 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.181 H 328.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#871E86
RGBrgb(135, 30, 134)
HSLhsl(301, 64%, 32%)
HSVhsv(301, 78%, 53%)
CMYKcmyk(0%, 77.8%, 0.7%, 47.1%)
CIE-LABlab(33.57, 55.10, -34.13)
CIE-LCHlch(33.57, 64.81, 328.22°)
OKLaboklab(45.13% 0.1543 -0.0946)
OKLCHoklch(45.13% 0.181 328.5)
XYZxyz(14.7589, 7.8018, 23.2782)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E86 #1E871F
analogous
#531E87 #871E86 #871E52
triadic
#871E86 #86871E #1E8687
tetradic
#871E86 #87531E #1E871F #1E5287
square
#871E86 #87531E #1E871F #1E5287
split-complementary
#871E86 #52871E #1E8753
monochromatic
#230823 #551354 #871E86 #B929B8 #D749D5

Accessibility & contrast

On white

8.20
#871E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#871E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E86
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E86#FFFFFF#000000##FFFFFF
##871E861.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#3C5483
Tritanopia (blue-blind)
#8C2F51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871e86;
/* rgb */ color: rgb(135, 30, 134);
/* oklch */ color: oklch(45.1% 0.181 328.5);
Tailwind
colors: {
  custom: {
    50: '#ad67aa',
    500: '#871e86',
    950: '#000000',
  },
}
SCSS
$custom: #871e86;
$custom-light: #ad67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871e86",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 300.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45127,
    "c": 0.18095,
    "h": 328.5
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#871E86
secondary
#48B949
accent
#E74341
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871E86

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

Preview Lab → · Contrast checker → · Palette generator →

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