#882AA4#882AA4

#882AA4 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 317.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#882AA4
RGBrgb(136, 42, 164)
HSLhsl(286, 59%, 40%)
HSVhsv(286, 74%, 64%)
CMYKcmyk(17.1%, 74.4%, 0%, 35.7%)
CIE-LABlab(37.06, 56.71, -46.85)
CIE-LCHlch(37.06, 73.56, 320.44°)
OKLaboklab(48.25% 0.1422 -0.1318)
OKLCHoklch(48.25% 0.194 317.2)
XYZxyz(17.6812, 9.5713, 36.0308)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA4 #46A42A
analogous
#4B2AA4 #882AA4 #A42A83
triadic
#882AA4 #A4882A #2AA488
tetradic
#882AA4 #A44B2A #46A42A #2A83A4
square
#882AA4 #A44B2A #46A42A #2A83A4
split-complementary
#882AA4 #83A42A #2AA44B
monochromatic
#371143 #601E73 #882AA4 #AC3ECD #C16EDA

Accessibility & contrast

On white

7.21
#882AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA4#FFFFFF#000000##FFFFFF
##882AA41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#874465
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882aa4;
/* rgb */ color: rgb(136, 42, 164);
/* oklch */ color: oklch(48.3% 0.194 317.2);
Tailwind
colors: {
  custom: {
    50: '#af6dc0',
    500: '#882aa4',
    950: '#000000',
  },
}
SCSS
$custom: #882aa4;
$custom-light: #af6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa4",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 286.23,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.19389,
    "h": 317.2
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#882AA4
secondary
#7DC169
accent
#E24569
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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