#871C84#871C84

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

Color values

HEX#871C84
RGBrgb(135, 28, 132)
HSLhsl(302, 66%, 32%)
HSVhsv(302, 79%, 53%)
CMYKcmyk(0%, 79.3%, 2.2%, 47.1%)
CIE-LABlab(33.24, 55.36, -33.41)
CIE-LCHlch(33.24, 64.66, 328.89°)
OKLaboklab(44.86% 0.156 -0.0924)
OKLCHoklch(44.86% 0.181 329.4)
XYZxyz(14.5717, 7.6485, 22.5342)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C84 #1C871F
analogous
#551C87 #871C84 #871C4F
triadic
#871C84 #84871C #1C8487
tetradic
#871C84 #87551C #1C871F #1C4F87
square
#871C84 #87551C #1C871F #1C4F87
split-complementary
#871C84 #4F871C #1C8755
monochromatic
#220721 #541152 #871C84 #BA27B6 #D845D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C84#FFFFFF#000000##FFFFFF
##871C841.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)
#064587
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#8C2D50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871c84;
/* rgb */ color: rgb(135, 28, 132);
/* oklch */ color: oklch(44.9% 0.181 329.4);
Tailwind
colors: {
  custom: {
    50: '#ae66a8',
    500: '#871c84',
    950: '#000000',
  },
}
SCSS
$custom: #871c84;
$custom-light: #ae66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#871c84",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 301.682,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.18135,
    "h": 329.4
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#871C84
secondary
#45BA48
accent
#E9443F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871C84

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

Preview Lab → · Contrast checker → · Palette generator →

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