#882AA5#882AA5

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

Color values

HEX#882AA5
RGBrgb(136, 42, 165)
HSLhsl(286, 59%, 41%)
HSVhsv(286, 75%, 65%)
CMYKcmyk(17.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(37.13, 56.91, -47.34)
CIE-LCHlch(37.13, 74.03, 320.24°)
OKLaboklab(48.32% 0.1421 -0.1332)
OKLCHoklch(48.32% 0.195 316.8)
XYZxyz(17.7718, 9.6075, 36.5083)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA5 #47A52A
analogous
#4B2AA5 #882AA5 #A52A84
triadic
#882AA5 #A5882A #2AA588
tetradic
#882AA5 #A54B2A #47A52A #2A84A5
square
#882AA5 #A54B2A #47A52A #2A84A5
split-complementary
#882AA5 #84A52A #2AA54B
monochromatic
#381143 #601E74 #882AA5 #AC3ECE #C16FDA

Accessibility & contrast

On white

7.19
#882AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#882AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA5#FFFFFF#000000##FFFFFF
##882AA51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#864466
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882aa5;
/* rgb */ color: rgb(136, 42, 165);
/* oklch */ color: oklch(48.3% 0.195 316.8);
Tailwind
colors: {
  custom: {
    50: '#af6dc0',
    500: '#882aa5',
    950: '#000000',
  },
}
SCSS
$custom: #882aa5;
$custom-light: #af6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa5",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 285.854,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.19479,
    "h": 316.8
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#882AA5
secondary
#7EC169
accent
#E3456A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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