#881787#881787

#881787 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.189 H 328.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#881787
RGBrgb(136, 23, 135)
HSLhsl(301, 71%, 31%)
HSVhsv(301, 83%, 53%)
CMYKcmyk(0%, 83.1%, 0.7%, 46.7%)
CIE-LABlab(33.13, 57.43, -35.43)
CIE-LCHlch(33.13, 67.48, 328.32°)
OKLaboklab(44.87% 0.1609 -0.0983)
OKLCHoklch(44.87% 0.189 328.6)
XYZxyz(14.8328, 7.5975, 23.6022)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881787 #178818
analogous
#501788 #881787 #88174E
triadic
#881787 #878817 #178788
tetradic
#881787 #885017 #178818 #174E88
square
#881787 #885017 #178818 #174E88
split-complementary
#881787 #4E8817 #178850
monochromatic
#1F051F #540E53 #881787 #BC20BB #DE3BDC

Accessibility & contrast

On white

8.34
#881787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#881787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881787
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881787#FFFFFF#000000##FFFFFF
##8817871.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #881787;
/* rgb */ color: rgb(136, 23, 135);
/* oklch */ color: oklch(44.9% 0.189 328.6);
Tailwind
colors: {
  custom: {
    50: '#ae65aa',
    500: '#881787',
    950: '#000000',
  },
}
SCSS
$custom: #881787;
$custom-light: #ae65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#881787",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 300.531,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.18852,
    "h": 328.6
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#881787
secondary
#3FBC40
accent
#EE3C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #881787

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

Preview Lab → · Contrast checker → · Palette generator →

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