#881D8B#881D8B

#881D8B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 326.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#881D8B
RGBrgb(136, 29, 139)
HSLhsl(298, 65%, 33%)
HSVhsv(298, 79%, 55%)
CMYKcmyk(2.2%, 79.1%, 0%, 45.5%)
CIE-LABlab(33.94, 56.46, -36.63)
CIE-LCHlch(33.94, 67.30, 327.03°)
OKLaboklab(45.52% 0.1561 -0.1018)
OKLCHoklch(45.52% 0.186 326.9)
XYZxyz(15.2527, 7.9781, 25.1577)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881D8B #208B1D
analogous
#511D8B #881D8B #8B1D57
triadic
#881D8B #8B881D #1D8B88
tetradic
#881D8B #8B511D #208B1D #1D578B
square
#881D8B #8B511D #208B1D #1D578B
split-complementary
#881D8B #578B1D #1D8B51
monochromatic
#250826 #561258 #881D8B #BA28BE #D549D9

Accessibility & contrast

On white

8.09
#881D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#881D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881D8B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881D8B#FFFFFF#000000##FFFFFF
##881D8B1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3A5488
Tritanopia (blue-blind)
#8C3154
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #881d8b;
/* rgb */ color: rgb(136, 29, 139);
/* oklch */ color: oklch(45.5% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#ae67ad',
    500: '#881d8b',
    950: '#000000',
  },
}
SCSS
$custom: #881d8b;
$custom-light: #ae67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#881d8b",
  "rgb": {
    "r": 136,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 298.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.18634,
    "h": 326.9
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#881D8B
secondary
#4CBB49
accent
#E83F44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #881D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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