#871B80#871B80

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

Color values

HEX#871B80
RGBrgb(135, 27, 128)
HSLhsl(304, 67%, 32%)
HSVhsv(304, 80%, 53%)
CMYKcmyk(0%, 80%, 5.2%, 47.1%)
CIE-LABlab(32.91, 55.00, -31.44)
CIE-LCHlch(32.91, 63.35, 330.25°)
OKLaboklab(44.54% 0.1569 -0.0867)
OKLCHoklch(44.54% 0.179 331.1)
XYZxyz(14.2799, 7.4944, 21.1124)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B80 #1B8722
analogous
#581B87 #871B80 #871B4A
triadic
#871B80 #80871B #1B8087
tetradic
#871B80 #87581B #1B8722 #1B4A87
square
#871B80 #87581B #1B8722 #1B4A87
split-complementary
#871B80 #4A871B #1B8758
monochromatic
#21071F #541150 #871B80 #BA25B0 #D943D0

Accessibility & contrast

On white

8.40
#871B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#871B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B80
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B80#FFFFFF#000000##FFFFFF
##871B801.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4483
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#8D2A4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871b80;
/* rgb */ color: rgb(135, 27, 128);
/* oklch */ color: oklch(44.5% 0.179 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae66a5',
    500: '#871b80',
    950: '#000000',
  },
}
SCSS
$custom: #871b80;
$custom-light: #ae66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871b80",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 303.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.17925,
    "h": 331.1
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#871B80
secondary
#44BA4B
accent
#EA493E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871B80

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

Preview Lab → · Contrast checker → · Palette generator →

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