#882DA1#882DA1

#882DA1 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.188 H 318.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#882DA1
RGBrgb(136, 45, 161)
HSLhsl(287, 56%, 40%)
HSVhsv(287, 72%, 63%)
CMYKcmyk(15.5%, 72%, 0%, 36.9%)
CIE-LABlab(37.27, 54.96, -44.71)
CIE-LCHlch(37.27, 70.85, 320.87°)
OKLaboklab(48.34% 0.1395 -0.1255)
OKLCHoklch(48.34% 0.188 318)
XYZxyz(17.5238, 9.6850, 34.6576)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA1 #46A12D
analogous
#4E2DA1 #882DA1 #A12D80
triadic
#882DA1 #A1882D #2DA188
tetradic
#882DA1 #A14E2D #46A12D #2D80A1
square
#882DA1 #A14E2D #46A12D #2D80A1
split-complementary
#882DA1 #80A12D #2DA14E
monochromatic
#371241 #602071 #882DA1 #AC41CA #C171D7

Accessibility & contrast

On white

7.15
#882DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882DA1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DA1#FFFFFF#000000##FFFFFF
##882DA11.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#325B9E
Tritanopia (blue-blind)
#874464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882da1;
/* rgb */ color: rgb(136, 45, 161);
/* oklch */ color: oklch(48.3% 0.188 318.0);
Tailwind
colors: {
  custom: {
    50: '#ae6fbd',
    500: '#882da1',
    950: '#000000',
  },
}
SCSS
$custom: #882da1;
$custom-light: #ae6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#882da1",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 287.069,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.18768,
    "h": 318
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#882DA1
secondary
#7DBF6B
accent
#E04869
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA1

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

Preview Lab → · Contrast checker → · Palette generator →

#882DA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva