#871E89#871E89

#871E89 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 327.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#871E89
RGBrgb(135, 30, 137)
HSLhsl(299, 64%, 33%)
HSVhsv(299, 78%, 54%)
CMYKcmyk(1.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(33.75, 55.61, -35.70)
CIE-LCHlch(33.75, 66.08, 327.30°)
OKLaboklab(45.31% 0.1542 -0.0991)
OKLCHoklch(45.31% 0.183 327.3)
XYZxyz(14.9711, 7.8867, 24.3958)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E89 #20891E
analogous
#521E89 #871E89 #891E55
triadic
#871E89 #89871E #1E8987
tetradic
#871E89 #89521E #20891E #1E5589
square
#871E89 #89521E #20891E #1E5589
split-complementary
#871E89 #55891E #1E8952
monochromatic
#240825 #561357 #871E89 #B829BB #D54AD7

Accessibility & contrast

On white

8.15
#871E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#871E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E89
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E89#FFFFFF#000000##FFFFFF
##871E891.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#8B3053
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #871e89;
/* rgb */ color: rgb(135, 30, 137);
/* oklch */ color: oklch(45.3% 0.183 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae67ac',
    500: '#871e89',
    950: '#000000',
  },
}
SCSS
$custom: #871e89;
$custom-light: #ae67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#871e89",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 298.879,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.18332,
    "h": 327.3
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#871E89
secondary
#4BBA49
accent
#E74144
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #871E89

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

Preview Lab → · Contrast checker → · Palette generator →

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