#871D84#871D84

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

Color values

HEX#871D84
RGBrgb(135, 29, 132)
HSLhsl(302, 65%, 32%)
HSVhsv(302, 79%, 53%)
CMYKcmyk(0%, 78.5%, 2.2%, 47.1%)
CIE-LABlab(33.34, 55.07, -33.24)
CIE-LCHlch(33.34, 64.32, 328.88°)
OKLaboklab(44.93% 0.1552 -0.092)
OKLCHoklch(44.93% 0.18 329.3)
XYZxyz(14.5958, 7.6967, 22.5422)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D84 #1D8720
analogous
#551D87 #871D84 #871D4F
triadic
#871D84 #84871D #1D8487
tetradic
#871D84 #87551D #1D8720 #1D4F87
square
#871D84 #87551D #1D8720 #1D4F87
split-complementary
#871D84 #4F871D #1D8755
monochromatic
#220721 #551253 #871D84 #B928B5 #D747D3

Accessibility & contrast

On white

8.27
#871D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#871D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D84
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D84#FFFFFF#000000##FFFFFF
##871D841.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d84;
/* rgb */ color: rgb(135, 29, 132);
/* oklch */ color: oklch(44.9% 0.180 329.3);
Tailwind
colors: {
  custom: {
    50: '#ae66a8',
    500: '#871d84',
    950: '#000000',
  },
}
SCSS
$custom: #871d84;
$custom-light: #ae66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#871d84",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 301.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.18038,
    "h": 329.3
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#871D84
secondary
#46B94A
accent
#E84540
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871D84

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

Preview Lab → · Contrast checker → · Palette generator →

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