#871D83#871D83

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

Color values

HEX#871D83
RGBrgb(135, 29, 131)
HSLhsl(302, 65%, 32%)
HSVhsv(302, 79%, 53%)
CMYKcmyk(0%, 78.5%, 3%, 47.1%)
CIE-LABlab(33.28, 54.90, -32.71)
CIE-LCHlch(33.28, 63.91, 329.21°)
OKLaboklab(44.87% 0.1552 -0.0904)
OKLCHoklch(44.87% 0.18 329.8)
XYZxyz(14.5277, 7.6695, 22.1835)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D83 #1D8721
analogous
#561D87 #871D83 #871D4E
triadic
#871D83 #83871D #1D8387
tetradic
#871D83 #87561D #1D8721 #1D4E87
square
#871D83 #87561D #1D8721 #1D4E87
split-complementary
#871D83 #4E871D #1D8756
monochromatic
#220721 #551252 #871D83 #B928B4 #D747D2

Accessibility & contrast

On white

8.29
#871D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D83
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D83#FFFFFF#000000##FFFFFF
##871D831.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d83;
/* rgb */ color: rgb(135, 29, 131);
/* oklch */ color: oklch(44.9% 0.180 329.8);
Tailwind
colors: {
  custom: {
    50: '#ae66a7',
    500: '#871d83',
    950: '#000000',
  },
}
SCSS
$custom: #871d83;
$custom-light: #ae66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#871d83",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 302.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.17961,
    "h": 329.8
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#871D83
secondary
#46B94B
accent
#E84640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #871D83

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

Preview Lab → · Contrast checker → · Palette generator →

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