#881B9E#881B9E

#881B9E is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.203 H 319.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#881B9E
RGBrgb(136, 27, 158)
HSLhsl(290, 71%, 36%)
HSVhsv(290, 83%, 62%)
CMYKcmyk(13.9%, 82.9%, 0%, 38%)
CIE-LABlab(34.98, 60.40, -46.58)
CIE-LCHlch(34.98, 76.28, 322.36°)
OKLaboklab(46.65% 0.1556 -0.1309)
OKLCHoklch(46.65% 0.203 319.9)
XYZxyz(16.7161, 8.4876, 33.0989)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B9E #319E1B
analogous
#471B9E #881B9E #9E1B73
triadic
#881B9E #9E881B #1B9E88
tetradic
#881B9E #9E471B #319E1B #1B739E
square
#881B9E #9E471B #319E1B #1B739E
split-complementary
#881B9E #739E1B #1B9E47
monochromatic
#2E0935 #5B126A #881B9E #B524D2 #C952E1

Accessibility & contrast

On white

7.79
#881B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#881B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B9E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B9E#FFFFFF#000000##FFFFFF
##881B9E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#29569B
Tritanopia (blue-blind)
#88395E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #881b9e;
/* rgb */ color: rgb(136, 27, 158);
/* oklch */ color: oklch(46.7% 0.203 319.9);
Tailwind
colors: {
  custom: {
    50: '#af67bb',
    500: '#881b9e',
    950: '#000000',
  },
}
SCSS
$custom: #881b9e;
$custom-light: #af67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#881b9e",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 289.924,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.20335,
    "h": 319.9
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#881B9E
secondary
#64C451
accent
#EE3A58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #881B9E

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

Preview Lab → · Contrast checker → · Palette generator →

#881B9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva