#881B97#881B97

#881B97 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 322.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#881B97
RGBrgb(136, 27, 151)
HSLhsl(293, 70%, 35%)
HSVhsv(293, 82%, 59%)
CMYKcmyk(9.9%, 82.1%, 0%, 40.8%)
CIE-LABlab(34.51, 59.13, -43.09)
CIE-LCHlch(34.51, 73.16, 323.92°)
OKLaboklab(46.17% 0.1566 -0.1206)
OKLCHoklch(46.17% 0.198 322.4)
XYZxyz(16.1306, 8.2534, 30.0156)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B97 #2A971B
analogous
#4A1B97 #881B97 #971B68
triadic
#881B97 #97881B #1B9788
tetradic
#881B97 #974A1B #2A971B #1B6897
square
#881B97 #974A1B #2A971B #1B6897
split-complementary
#881B97 #68971B #1B974A
monochromatic
#2A082F #591263 #881B97 #B724CB #CE4DDF

Accessibility & contrast

On white

7.92
#881B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#881B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B97
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B97#FFFFFF#000000##FFFFFF
##881B971.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#8A365A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #881b97;
/* rgb */ color: rgb(136, 27, 151);
/* oklch */ color: oklch(46.2% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#af67b6',
    500: '#881b97',
    950: '#000000',
  },
}
SCSS
$custom: #881b97;
$custom-light: #af67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#881b97",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 292.742,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.19769,
    "h": 322.4
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#881B97
secondary
#5BC14C
accent
#EC3B51
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #881B97

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

Preview Lab → · Contrast checker → · Palette generator →

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