#871D86#871D86

#871D86 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 328.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#871D86
RGBrgb(135, 29, 134)
HSLhsl(301, 65%, 32%)
HSVhsv(301, 79%, 53%)
CMYKcmyk(0%, 78.5%, 0.7%, 47.1%)
CIE-LABlab(33.46, 55.40, -34.30)
CIE-LCHlch(33.46, 65.16, 328.24°)
OKLaboklab(45.05% 0.1551 -0.095)
OKLCHoklch(45.05% 0.182 328.5)
XYZxyz(14.7340, 7.7520, 23.2699)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D86 #1D871E
analogous
#531D87 #871D86 #871D51
triadic
#871D86 #86871D #1D8687
tetradic
#871D86 #87531D #1D871E #1D5187
square
#871D86 #87531D #1D871E #1D5187
split-complementary
#871D86 #51871D #1D8753
monochromatic
#220722 #551254 #871D86 #B928B8 #D747D6

Accessibility & contrast

On white

8.23
#871D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#871D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D86
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D86#FFFFFF#000000##FFFFFF
##871D861.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#3C5383
Tritanopia (blue-blind)
#8C2E51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871d86;
/* rgb */ color: rgb(135, 29, 134);
/* oklch */ color: oklch(45.1% 0.182 328.5);
Tailwind
colors: {
  custom: {
    50: '#ae67aa',
    500: '#871d86',
    950: '#000000',
  },
}
SCSS
$custom: #871d86;
$custom-light: #ae67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#871d86",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 300.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.18194,
    "h": 328.5
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#871D86
secondary
#46B947
accent
#E84240
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871D86

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

Preview Lab → · Contrast checker → · Palette generator →

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