#871E80#871E80

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

Color values

HEX#871E80
RGBrgb(135, 30, 128)
HSLhsl(304, 64%, 32%)
HSVhsv(304, 78%, 53%)
CMYKcmyk(0%, 77.8%, 5.2%, 47.1%)
CIE-LABlab(33.22, 54.10, -30.94)
CIE-LCHlch(33.22, 62.32, 330.23°)
OKLaboklab(44.77% 0.1543 -0.0853)
OKLCHoklch(44.77% 0.176 331.1)
XYZxyz(14.3522, 7.6391, 21.1365)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E80 #1E8725
analogous
#5A1E87 #871E80 #871E4C
triadic
#871E80 #80871E #1E8087
tetradic
#871E80 #875A1E #1E8725 #1E4C87
square
#871E80 #875A1E #1E8725 #1E4C87
split-complementary
#871E80 #4C871E #1E875A
monochromatic
#230821 #551351 #871E80 #B929AF #D749CD

Accessibility & contrast

On white

8.31
#871E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#871E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E80
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E80#FFFFFF#000000##FFFFFF
##871E801.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e80;
/* rgb */ color: rgb(135, 30, 128);
/* oklch */ color: oklch(44.8% 0.176 331.1);
Tailwind
colors: {
  custom: {
    50: '#ad67a5',
    500: '#871e80',
    950: '#000000',
  },
}
SCSS
$custom: #871e80;
$custom-light: #ad67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#871e80",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 304,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.17629,
    "h": 331.1
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#871E80
secondary
#48B950
accent
#E74C41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #871E80

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

Preview Lab → · Contrast checker → · Palette generator →

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