#871E83#871E83

#871E83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.179 H 329.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#871E83
RGBrgb(135, 30, 131)
HSLhsl(302, 64%, 32%)
HSVhsv(302, 78%, 53%)
CMYKcmyk(0%, 77.8%, 3%, 47.1%)
CIE-LABlab(33.39, 54.59, -32.54)
CIE-LCHlch(33.39, 63.56, 329.20°)
OKLaboklab(44.95% 0.1543 -0.0899)
OKLCHoklch(44.95% 0.179 329.8)
XYZxyz(14.5526, 7.7193, 22.1918)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E83 #1E8722
analogous
#571E87 #871E83 #871E4E
triadic
#871E83 #83871E #1E8387
tetradic
#871E83 #87571E #1E8722 #1E4E87
square
#871E83 #87571E #1E8722 #1E4E87
split-complementary
#871E83 #4E871E #1E8757
monochromatic
#230822 #551352 #871E83 #B929B4 #D749D1

Accessibility & contrast

On white

8.26
#871E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E83
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E83#FFFFFF#000000##FFFFFF
##871E831.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4686
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#8C2D4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871e83;
/* rgb */ color: rgb(135, 30, 131);
/* oklch */ color: oklch(44.9% 0.179 329.8);
Tailwind
colors: {
  custom: {
    50: '#ad67a7',
    500: '#871e83',
    950: '#000000',
  },
}
SCSS
$custom: #871e83;
$custom-light: #ad67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871e83",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 302.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.1786,
    "h": 329.8
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#871E83
secondary
#48B94C
accent
#E74741
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #871E83

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

Preview Lab → · Contrast checker → · Palette generator →

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