#881B7B#881B7B

#881B7B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.176 H 333.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#881B7B
RGBrgb(136, 27, 123)
HSLhsl(307, 67%, 32%)
HSVhsv(307, 80%, 53%)
CMYKcmyk(0%, 80.1%, 9.6%, 46.7%)
CIE-LABlab(32.81, 54.43, -28.44)
CIE-LCHlch(32.81, 61.42, 332.41°)
OKLaboklab(44.42% 0.1578 -0.0781)
OKLCHoklch(44.42% 0.176 333.7)
XYZxyz(14.1206, 7.4494, 19.4292)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B7B #1B8828
analogous
#5F1B88 #881B7B #881B45
triadic
#881B7B #7B881B #1B7B88
tetradic
#881B7B #885F1B #1B8828 #1B4588
square
#881B7B #885F1B #1B8828 #1B4588
split-complementary
#881B7B #45881B #1B885F
monochromatic
#22071F #55114D #881B7B #BB25A9 #DA44C8

Accessibility & contrast

On white

8.44
#881B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#881B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B7B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B7B#FFFFFF#000000##FFFFFF
##881B7B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437E
Deuteranopia (green-blind)
#425378
Tritanopia (blue-blind)
#8F274A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #881b7b;
/* rgb */ color: rgb(136, 27, 123);
/* oklch */ color: oklch(44.4% 0.176 333.7);
Tailwind
colors: {
  custom: {
    50: '#ae65a1',
    500: '#881b7b',
    950: '#000000',
  },
}
SCSS
$custom: #881b7b;
$custom-light: #ae65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#881b7b",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 307.156,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.17605,
    "h": 333.7
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#881B7B
secondary
#44BB52
accent
#EA533E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #881B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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