#881EA8#881EA8

#881EA8 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.209 H 316.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#881EA8
RGBrgb(136, 30, 168)
HSLhsl(286, 70%, 39%)
HSVhsv(286, 82%, 66%)
CMYKcmyk(19%, 82.1%, 0%, 34.1%)
CIE-LABlab(35.97, 61.45, -51.02)
CIE-LCHlch(35.97, 79.87, 320.30°)
OKLaboklab(47.57% 0.1517 -0.1439)
OKLCHoklch(47.57% 0.209 316.5)
XYZxyz(17.6844, 8.9907, 37.8420)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881EA8 #3EA81E
analogous
#431EA8 #881EA8 #A81E83
triadic
#881EA8 #A8881E #1EA888
tetradic
#881EA8 #A8431E #3EA81E #1E83A8
square
#881EA8 #A8431E #3EA81E #1E83A8
split-complementary
#881EA8 #83A81E #1EA843
monochromatic
#340B40 #5E1574 #881EA8 #B02AD9 #C45EE2

Accessibility & contrast

On white

7.51
#881EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#881EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881EA8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881EA8#FFFFFF#000000##FFFFFF
##881EA81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1D57A5
Tritanopia (blue-blind)
#864065
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #881ea8;
/* rgb */ color: rgb(136, 30, 168);
/* oklch */ color: oklch(47.6% 0.209 316.5);
Tailwind
colors: {
  custom: {
    50: '#af69c3',
    500: '#881ea8',
    950: '#000000',
  },
}
SCSS
$custom: #881ea8;
$custom-light: #af69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#881ea8",
  "rgb": {
    "r": 136,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 286.087,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.20914,
    "h": 316.5
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#881EA8
secondary
#74C75B
accent
#ED3B64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #881EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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