#882AA6#882AA6

#882AA6 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.196 H 316.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#882AA6
RGBrgb(136, 42, 166)
HSLhsl(285, 60%, 41%)
HSVhsv(285, 75%, 65%)
CMYKcmyk(18.1%, 74.7%, 0%, 34.9%)
CIE-LABlab(37.20, 57.11, -47.83)
CIE-LCHlch(37.20, 74.50, 320.05°)
OKLaboklab(48.39% 0.142 -0.1347)
OKLCHoklch(48.39% 0.196 316.5)
XYZxyz(17.8632, 9.6441, 36.9895)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA6 #48A62A
analogous
#4A2AA6 #882AA6 #A62A86
triadic
#882AA6 #A6882A #2AA688
tetradic
#882AA6 #A64A2A #48A62A #2A86A6
square
#882AA6 #A64A2A #48A62A #2A86A6
split-complementary
#882AA6 #86A62A #2AA64A
monochromatic
#381144 #601E75 #882AA6 #AC3FCE #C170DB

Accessibility & contrast

On white

7.17
#882AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#882AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA6#FFFFFF#000000##FFFFFF
##882AA61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882aa6;
/* rgb */ color: rgb(136, 42, 166);
/* oklch */ color: oklch(48.4% 0.196 316.5);
Tailwind
colors: {
  custom: {
    50: '#af6dc1',
    500: '#882aa6',
    950: '#000000',
  },
}
SCSS
$custom: #882aa6;
$custom-light: #af6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa6",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 285.484,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.19569,
    "h": 316.5
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#882AA6
secondary
#7FC26A
accent
#E3456B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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