#882AA9#882AA9

#882AA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.198 H 315.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#882AA9
RGBrgb(136, 42, 169)
HSLhsl(284, 60%, 41%)
HSVhsv(284, 75%, 66%)
CMYKcmyk(19.5%, 75.1%, 0%, 33.7%)
CIE-LABlab(37.40, 57.71, -49.30)
CIE-LCHlch(37.40, 75.90, 319.49°)
OKLaboklab(48.6% 0.1416 -0.139)
OKLCHoklch(48.6% 0.198 315.5)
XYZxyz(18.1416, 9.7554, 38.4558)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA9 #4BA92A
analogous
#482AA9 #882AA9 #A92A8B
triadic
#882AA9 #A9882A #2AA988
tetradic
#882AA9 #A9482A #4BA92A #2A8BA9
square
#882AA9 #A9482A #4BA92A #2A8BA9
split-complementary
#882AA9 #8BA92A #2AA948
monochromatic
#391247 #611E78 #882AA9 #AA41D0 #C072DC

Accessibility & contrast

On white

7.12
#882AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#882AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA9#FFFFFF#000000##FFFFFF
##882AA91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#275AA6
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882aa9;
/* rgb */ color: rgb(136, 42, 169);
/* oklch */ color: oklch(48.6% 0.198 315.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec3',
    500: '#882aa9',
    950: '#000000',
  },
}
SCSS
$custom: #882aa9;
$custom-light: #af6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa9",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 284.409,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.486,
    "c": 0.19841,
    "h": 315.5
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#882AA9
secondary
#82C36C
accent
#E3446E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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