#871E85#871E85

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

Color values

HEX#871E85
RGBrgb(135, 30, 133)
HSLhsl(301, 64%, 32%)
HSVhsv(301, 78%, 53%)
CMYKcmyk(0%, 77.8%, 1.5%, 47.1%)
CIE-LABlab(33.51, 54.93, -33.60)
CIE-LCHlch(33.51, 64.39, 328.54°)
OKLaboklab(45.07% 0.1543 -0.093)
OKLCHoklch(45.07% 0.18 328.9)
XYZxyz(14.6895, 7.7740, 22.9126)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E85 #1E8720
analogous
#551E87 #871E85 #871E50
triadic
#871E85 #85871E #1E8587
tetradic
#871E85 #87551E #1E8720 #1E5087
square
#871E85 #87551E #1E8720 #1E5087
split-complementary
#871E85 #50871E #1E8755
monochromatic
#230822 #551354 #871E85 #B929B6 #D749D4

Accessibility & contrast

On white

8.22
#871E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E85
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E85#FFFFFF#000000##FFFFFF
##871E851.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e85;
/* rgb */ color: rgb(135, 30, 133);
/* oklch */ color: oklch(45.1% 0.180 328.9);
Tailwind
colors: {
  custom: {
    50: '#ad67a9',
    500: '#871e85',
    950: '#000000',
  },
}
SCSS
$custom: #871e85;
$custom-light: #ad67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#871e85",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 301.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.18017,
    "h": 328.9
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#871E85
secondary
#48B94A
accent
#E74441
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871E85

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

Preview Lab → · Contrast checker → · Palette generator →

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