#882AA0#882AA0

#882AA0 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 318.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#882AA0
RGBrgb(136, 42, 160)
HSLhsl(288, 58%, 40%)
HSVhsv(288, 74%, 63%)
CMYKcmyk(15%, 73.8%, 0%, 37.3%)
CIE-LABlab(36.80, 55.92, -44.87)
CIE-LCHlch(36.80, 71.70, 321.26°)
OKLaboklab(47.98% 0.1426 -0.126)
OKLCHoklch(47.98% 0.19 318.6)
XYZxyz(17.3256, 9.4290, 34.1583)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA0 #42A02A
analogous
#4D2AA0 #882AA0 #A02A7D
triadic
#882AA0 #A0882A #2AA088
tetradic
#882AA0 #A04D2A #42A02A #2A7DA0
square
#882AA0 #A04D2A #42A02A #2A7DA0
split-complementary
#882AA0 #7DA02A #2AA04D
monochromatic
#36113F #5F1D70 #882AA0 #AE3CCC #C26CD8

Accessibility & contrast

On white

7.28
#882AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#882AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA0#FFFFFF#000000##FFFFFF
##882AA01.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#884263
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882aa0;
/* rgb */ color: rgb(136, 42, 160);
/* oklch */ color: oklch(48.0% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae6dbd',
    500: '#882aa0',
    950: '#000000',
  },
}
SCSS
$custom: #882aa0;
$custom-light: #ae6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa0",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 287.797,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.1903,
    "h": 318.6
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#882AA0
secondary
#79BF67
accent
#E24666
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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