#871D85#871D85

#871D85 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.181 H 328.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#871D85
RGBrgb(135, 29, 133)
HSLhsl(301, 65%, 32%)
HSVhsv(301, 79%, 53%)
CMYKcmyk(0%, 78.5%, 1.5%, 47.1%)
CIE-LABlab(33.40, 55.23, -33.77)
CIE-LCHlch(33.40, 64.74, 328.56°)
OKLaboklab(44.99% 0.1552 -0.0935)
OKLCHoklch(44.99% 0.181 328.9)
XYZxyz(14.6645, 7.7242, 22.9043)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D85 #1D871F
analogous
#541D87 #871D85 #871D50
triadic
#871D85 #85871D #1D8587
tetradic
#871D85 #87541D #1D871F #1D5087
square
#871D85 #87541D #1D871F #1D5087
split-complementary
#871D85 #50871D #1D8754
monochromatic
#220722 #551253 #871D85 #B928B7 #D747D5

Accessibility & contrast

On white

8.25
#871D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D85
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D85#FFFFFF#000000##FFFFFF
##871D851.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#3D5382
Tritanopia (blue-blind)
#8C2E50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871d85;
/* rgb */ color: rgb(135, 29, 133);
/* oklch */ color: oklch(45.0% 0.181 328.9);
Tailwind
colors: {
  custom: {
    50: '#ae66a9',
    500: '#871d85',
    950: '#000000',
  },
}
SCSS
$custom: #871d85;
$custom-light: #ae66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871d85",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 301.132,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.18115,
    "h": 328.9
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#871D85
secondary
#46B949
accent
#E84340
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871D85

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

Preview Lab → · Contrast checker → · Palette generator →

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