#871F80#871F80

#871F80 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 331.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#871F80
RGBrgb(135, 31, 128)
HSLhsl(304, 63%, 33%)
HSVhsv(304, 77%, 53%)
CMYKcmyk(0%, 77%, 5.2%, 47.1%)
CIE-LABlab(33.33, 53.78, -30.77)
CIE-LCHlch(33.33, 61.96, 330.23°)
OKLaboklab(44.85% 0.1534 -0.0848)
OKLCHoklch(44.85% 0.175 331.1)
XYZxyz(14.3779, 7.6905, 21.1451)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F80 #1F8726
analogous
#5A1F87 #871F80 #871F4C
triadic
#871F80 #80871F #1F8087
tetradic
#871F80 #875A1F #1F8726 #1F4C87
square
#871F80 #875A1F #1F8726 #1F4C87
split-complementary
#871F80 #4C871F #1F875A
monochromatic
#230822 #551451 #871F80 #B92AAF #D64BCC

Accessibility & contrast

On white

8.27
#871F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F80
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F80#FFFFFF#000000##FFFFFF
##871F801.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144583
Deuteranopia (green-blind)
#40537E
Tritanopia (blue-blind)
#8D2C4E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871f80;
/* rgb */ color: rgb(135, 31, 128);
/* oklch */ color: oklch(44.8% 0.175 331.1);
Tailwind
colors: {
  custom: {
    50: '#ad67a5',
    500: '#871f80',
    950: '#000000',
  },
}
SCSS
$custom: #871f80;
$custom-light: #ad67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871f80",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 304.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.17525,
    "h": 331.1
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#871F80
secondary
#4AB851
accent
#E64D42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #871F80

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

Preview Lab → · Contrast checker → · Palette generator →

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