#871C80#871C80

#871C80 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 331.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#871C80
RGBrgb(135, 28, 128)
HSLhsl(304, 66%, 32%)
HSVhsv(304, 79%, 53%)
CMYKcmyk(0%, 79.3%, 5.2%, 47.1%)
CIE-LABlab(33.01, 54.71, -31.28)
CIE-LCHlch(33.01, 63.02, 330.24°)
OKLaboklab(44.62% 0.156 -0.0863)
OKLCHoklch(44.62% 0.178 331.1)
XYZxyz(14.3032, 7.5411, 21.1201)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C80 #1C8723
analogous
#591C87 #871C80 #871C4B
triadic
#871C80 #80871C #1C8087
tetradic
#871C80 #87591C #1C8723 #1C4B87
square
#871C80 #87591C #1C8723 #1C4B87
split-complementary
#871C80 #4B871C #1C8759
monochromatic
#220720 #541150 #871C80 #BA27B0 #D845CF

Accessibility & contrast

On white

8.37
#871C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#871C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C80
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C80#FFFFFF#000000##FFFFFF
##871C801.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#8D2B4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871c80;
/* rgb */ color: rgb(135, 28, 128);
/* oklch */ color: oklch(44.6% 0.178 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae66a5',
    500: '#871c80',
    950: '#000000',
  },
}
SCSS
$custom: #871c80;
$custom-light: #ae66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871c80",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 303.925,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.17829,
    "h": 331.1
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#871C80
secondary
#45BA4D
accent
#E94A3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871C80

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

Preview Lab → · Contrast checker → · Palette generator →

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