#871D80#871D80

#871D80 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 331.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#871D80
RGBrgb(135, 29, 128)
HSLhsl(304, 65%, 32%)
HSVhsv(304, 79%, 53%)
CMYKcmyk(0%, 78.5%, 5.2%, 47.1%)
CIE-LABlab(33.11, 54.41, -31.11)
CIE-LCHlch(33.11, 62.68, 330.24°)
OKLaboklab(44.69% 0.1552 -0.0858)
OKLCHoklch(44.69% 0.177 331.1)
XYZxyz(14.3273, 7.5893, 21.1282)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D80 #1D8724
analogous
#591D87 #871D80 #871D4B
triadic
#871D80 #80871D #1D8087
tetradic
#871D80 #87591D #1D8724 #1D4B87
square
#871D80 #87591D #1D8724 #1D4B87
split-complementary
#871D80 #4B871D #1D8759
monochromatic
#220720 #551250 #871D80 #B928B0 #D747CE

Accessibility & contrast

On white

8.34
#871D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#871D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D80
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D80#FFFFFF#000000##FFFFFF
##871D801.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#8D2B4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871d80;
/* rgb */ color: rgb(135, 29, 128);
/* oklch */ color: oklch(44.7% 0.177 331.1);
Tailwind
colors: {
  custom: {
    50: '#ad66a5',
    500: '#871d80',
    950: '#000000',
  },
}
SCSS
$custom: #871d80;
$custom-light: #ad66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871d80",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 303.962,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44691,
    "c": 0.1773,
    "h": 331.1
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#871D80
secondary
#46B94E
accent
#E84B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #871D80

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

Preview Lab → · Contrast checker → · Palette generator →

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