#871A80#871A80

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

Color values

HEX#871A80
RGBrgb(135, 26, 128)
HSLhsl(304, 68%, 32%)
HSVhsv(304, 81%, 53%)
CMYKcmyk(0%, 80.7%, 5.2%, 47.1%)
CIE-LABlab(32.81, 55.28, -31.59)
CIE-LCHlch(32.81, 63.67, 330.25°)
OKLaboklab(44.47% 0.1577 -0.0872)
OKLCHoklch(44.47% 0.18 331.1)
XYZxyz(14.2573, 7.4494, 21.1049)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A80 #1A8721
analogous
#581A87 #871A80 #871A4A
triadic
#871A80 #80871A #1A8087
tetradic
#871A80 #87581A #1A8721 #1A4A87
square
#871A80 #87581A #1A8721 #1A4A87
split-complementary
#871A80 #4A871A #1A8758
monochromatic
#20061F #54104F #871A80 #BA24B1 #DA41D1

Accessibility & contrast

On white

8.44
#871A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#871A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A80
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A80#FFFFFF#000000##FFFFFF
##871A801.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4483
Deuteranopia (green-blind)
#3E527D
Tritanopia (blue-blind)
#8D294D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871a80;
/* rgb */ color: rgb(135, 26, 128);
/* oklch */ color: oklch(44.5% 0.180 331.1);
Tailwind
colors: {
  custom: {
    50: '#ae65a5',
    500: '#871a80',
    950: '#000000',
  },
}
SCSS
$custom: #871a80;
$custom-light: #ae65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871a80",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 303.853,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.18018,
    "h": 331.1
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#871A80
secondary
#42BA4A
accent
#EB483D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #871A80

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

Preview Lab → · Contrast checker → · Palette generator →

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