#881B7E#881B7E

#881B7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 332.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#881B7E
RGBrgb(136, 27, 126)
HSLhsl(306, 67%, 32%)
HSVhsv(306, 80%, 53%)
CMYKcmyk(0%, 80.1%, 7.4%, 46.7%)
CIE-LABlab(32.97, 54.90, -30.07)
CIE-LCHlch(32.97, 62.59, 331.29°)
OKLaboklab(44.59% 0.1579 -0.0827)
OKLCHoklch(44.59% 0.178 332.3)
XYZxyz(14.3112, 7.5257, 20.4335)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B7E #1B8825
analogous
#5C1B88 #881B7E #881B47
triadic
#881B7E #7E881B #1B7E88
tetradic
#881B7E #885C1B #1B8825 #1B4788
square
#881B7E #885C1B #1B8825 #1B4788
split-complementary
#881B7E #47881B #1B885C
monochromatic
#22071F #55114F #881B7E #BB25AD #DA44CC

Accessibility & contrast

On white

8.38
#881B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#881B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B7E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B7E#FFFFFF#000000##FFFFFF
##881B7E1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#8E284C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #881b7e;
/* rgb */ color: rgb(136, 27, 126);
/* oklch */ color: oklch(44.6% 0.178 332.3);
Tailwind
colors: {
  custom: {
    50: '#ae66a4',
    500: '#881b7e',
    950: '#000000',
  },
}
SCSS
$custom: #881b7e;
$custom-light: #ae66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#881b7e",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 305.505,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.17826,
    "h": 332.3
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#881B7E
secondary
#44BB4F
accent
#EA4E3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #881B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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