#871989#871989

#871989 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.188 H 327.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#871989
RGBrgb(135, 25, 137)
HSLhsl(299, 69%, 32%)
HSVhsv(299, 82%, 54%)
CMYKcmyk(1.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(33.25, 57.04, -36.49)
CIE-LCHlch(33.25, 67.71, 327.39°)
OKLaboklab(44.96% 0.1582 -0.1014)
OKLCHoklch(44.96% 0.188 327.3)
XYZxyz(14.8544, 7.6534, 24.3569)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871989 #1B8919
analogous
#4F1989 #871989 #891953
triadic
#871989 #898719 #198987
tetradic
#871989 #894F19 #1B8919 #195389
square
#871989 #894F19 #1B8919 #195389
split-complementary
#871989 #538919 #19894F
monochromatic
#210621 #541055 #871989 #BA22BD #D940DC

Accessibility & contrast

On white

8.30
#871989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#871989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871989
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871989#FFFFFF#000000##FFFFFF
##8719891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#8B2E52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #871989;
/* rgb */ color: rgb(135, 25, 137);
/* oklch */ color: oklch(45.0% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae65ac',
    500: '#871989',
    950: '#000000',
  },
}
SCSS
$custom: #871989;
$custom-light: #ae65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#871989",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 298.929,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.18793,
    "h": 327.3
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#871989
secondary
#44BC41
accent
#EC3C3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #871989

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

Preview Lab → · Contrast checker → · Palette generator →

#871989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva