#881D8A#881D8A

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

Color values

HEX#881D8A
RGBrgb(136, 29, 138)
HSLhsl(299, 65%, 33%)
HSVhsv(299, 79%, 54%)
CMYKcmyk(1.4%, 79%, 0%, 45.9%)
CIE-LABlab(33.88, 56.29, -36.11)
CIE-LCHlch(33.88, 66.88, 327.32°)
OKLaboklab(45.46% 0.1561 -0.1003)
OKLCHoklch(45.46% 0.186 327.3)
XYZxyz(15.1799, 7.9490, 24.7746)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881D8A #1F8A1D
analogous
#511D8A #881D8A #8A1D55
triadic
#881D8A #8A881D #1D8A88
tetradic
#881D8A #8A511D #1F8A1D #1D558A
square
#881D8A #8A511D #1F8A1D #1D558A
split-complementary
#881D8A #558A1D #1D8A51
monochromatic
#240825 #561257 #881D8A #BA28BD #D649D9

Accessibility & contrast

On white

8.11
#881D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#881D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881D8A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881D8A#FFFFFF#000000##FFFFFF
##881D8A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3B5487
Tritanopia (blue-blind)
#8C3053
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #881d8a;
/* rgb */ color: rgb(136, 29, 138);
/* oklch */ color: oklch(45.5% 0.186 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae67ad',
    500: '#881d8a',
    950: '#000000',
  },
}
SCSS
$custom: #881d8a;
$custom-light: #ae67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#881d8a",
  "rgb": {
    "r": 136,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 298.899,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.18554,
    "h": 327.3
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#881D8A
secondary
#4ABB48
accent
#E84043
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #881D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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