#882DA4#882DA4

#882DA4 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.190 H 317.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#882DA4
RGBrgb(136, 45, 164)
HSLhsl(286, 57%, 41%)
HSVhsv(286, 73%, 64%)
CMYKcmyk(17.1%, 72.6%, 0%, 35.7%)
CIE-LABlab(37.47, 55.56, -46.20)
CIE-LCHlch(37.47, 72.26, 320.26°)
OKLaboklab(48.54% 0.1393 -0.1299)
OKLCHoklch(48.54% 0.19 317)
XYZxyz(17.7916, 9.7921, 36.0676)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA4 #49A42D
analogous
#4C2DA4 #882DA4 #A42D84
triadic
#882DA4 #A4882D #2DA488
tetradic
#882DA4 #A44C2D #49A42D #2D84A4
square
#882DA4 #A44C2D #49A42D #2D84A4
split-complementary
#882DA4 #84A42D #2DA44C
monochromatic
#381344 #602074 #882DA4 #AB43CB #C173D9

Accessibility & contrast

On white

7.10
#882DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#882DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882DA4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DA4#FFFFFF#000000##FFFFFF
##882DA41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#2F5BA1
Tritanopia (blue-blind)
#874566
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882da4;
/* rgb */ color: rgb(136, 45, 164);
/* oklch */ color: oklch(48.5% 0.190 317.0);
Tailwind
colors: {
  custom: {
    50: '#ae6fc0',
    500: '#882da4',
    950: '#000000',
  },
}
SCSS
$custom: #882da4;
$custom-light: #ae6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#882da4",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 285.882,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.19043,
    "h": 317
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#882DA4
secondary
#80C06D
accent
#E0486C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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