#871E84#871E84

#871E84 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.179 H 329.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#871E84
RGBrgb(135, 30, 132)
HSLhsl(302, 64%, 32%)
HSVhsv(302, 78%, 53%)
CMYKcmyk(0%, 77.8%, 2.2%, 47.1%)
CIE-LABlab(33.45, 54.76, -33.07)
CIE-LCHlch(33.45, 63.97, 328.87°)
OKLaboklab(45.01% 0.1543 -0.0915)
OKLCHoklch(45.01% 0.179 329.3)
XYZxyz(14.6207, 7.7465, 22.5505)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E84 #1E8721
analogous
#551E87 #871E84 #871E50
triadic
#871E84 #84871E #1E8487
tetradic
#871E84 #87551E #1E8721 #1E5087
square
#871E84 #87551E #1E8721 #1E5087
split-complementary
#871E84 #50871E #1E8755
monochromatic
#230822 #551353 #871E84 #B929B5 #D749D2

Accessibility & contrast

On white

8.24
#871E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#871E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E84
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E84#FFFFFF#000000##FFFFFF
##871E841.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4687
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#8C2E50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871e84;
/* rgb */ color: rgb(135, 30, 132);
/* oklch */ color: oklch(45.0% 0.179 329.3);
Tailwind
colors: {
  custom: {
    50: '#ad67a8',
    500: '#871e84',
    950: '#000000',
  },
}
SCSS
$custom: #871e84;
$custom-light: #ad67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#871e84",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 301.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.17938,
    "h": 329.3
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#871E84
secondary
#48B94B
accent
#E74641
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871E84

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

Preview Lab → · Contrast checker → · Palette generator →

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