#881987#881987

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

Color values

HEX#881987
RGBrgb(136, 25, 135)
HSLhsl(301, 69%, 32%)
HSVhsv(301, 82%, 53%)
CMYKcmyk(0%, 81.6%, 0.7%, 46.7%)
CIE-LABlab(33.31, 56.91, -35.15)
CIE-LCHlch(33.31, 66.89, 328.30°)
OKLaboklab(45% 0.1594 -0.0975)
OKLCHoklch(45% 0.187 328.6)
XYZxyz(14.8740, 7.6799, 23.6159)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881987 #19881A
analogous
#521988 #881987 #881950
triadic
#881987 #878819 #198788
tetradic
#881987 #885219 #19881A #195088
square
#881987 #885219 #19881A #195088
split-complementary
#881987 #508819 #198852
monochromatic
#210620 #540F54 #881987 #BC23BA #DC40DA

Accessibility & contrast

On white

8.28
#881987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#881987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881987
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881987#FFFFFF#000000##FFFFFF
##8819871.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#8D2C51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #881987;
/* rgb */ color: rgb(136, 25, 135);
/* oklch */ color: oklch(45.0% 0.187 328.6);
Tailwind
colors: {
  custom: {
    50: '#ae65aa',
    500: '#881987',
    950: '#000000',
  },
}
SCSS
$custom: #881987;
$custom-light: #ae65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#881987",
  "rgb": {
    "r": 136,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 300.541,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.18685,
    "h": 328.6
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#881987
secondary
#41BB42
accent
#EC3E3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #881987

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

Preview Lab → · Contrast checker → · Palette generator →

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