#881DA7#881DA7

#881DA7 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.209 H 316.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#881DA7
RGBrgb(136, 29, 167)
HSLhsl(287, 70%, 38%)
HSVhsv(287, 83%, 65%)
CMYKcmyk(18.6%, 82.6%, 0%, 34.5%)
CIE-LABlab(35.80, 61.54, -50.69)
CIE-LCHlch(35.80, 79.73, 320.52°)
OKLaboklab(47.43% 0.1526 -0.143)
OKLCHoklch(47.43% 0.209 316.9)
XYZxyz(17.5667, 8.9038, 37.3450)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881DA7 #3CA71D
analogous
#431DA7 #881DA7 #A71D81
triadic
#881DA7 #A7881D #1DA788
tetradic
#881DA7 #A7431D #3CA71D #1D81A7
square
#881DA7 #A7431D #3CA71D #1D81A7
split-complementary
#881DA7 #81A71D #1DA743
monochromatic
#330B3F #5E1473 #881DA7 #B228DA #C45CE3

Accessibility & contrast

On white

7.55
#881DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#881DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881DA7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881DA7#FFFFFF#000000##FFFFFF
##881DA71.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1E57A4
Tritanopia (blue-blind)
#863F64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #881da7;
/* rgb */ color: rgb(136, 29, 167);
/* oklch */ color: oklch(47.4% 0.209 316.9);
Tailwind
colors: {
  custom: {
    50: '#af68c2',
    500: '#881da7',
    950: '#000000',
  },
}
SCSS
$custom: #881da7;
$custom-light: #af68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#881da7",
  "rgb": {
    "r": 136,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 286.522,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.20913,
    "h": 316.9
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#881DA7
secondary
#72C759
accent
#ED3B63
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #881DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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