#882EA6#882EA6

#882EA6 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.191 H 316.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#882EA6
RGBrgb(136, 46, 166)
HSLhsl(285, 57%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18.1%, 72.3%, 0%, 34.9%)
CIE-LABlab(37.74, 55.57, -46.96)
CIE-LCHlch(37.74, 72.75, 319.80°)
OKLaboklab(48.78% 0.138 -0.1321)
OKLCHoklch(48.78% 0.191 316.2)
XYZxyz(18.0122, 9.9421, 37.0392)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA6 #4CA62E
analogous
#4C2EA6 #882EA6 #A62E88
triadic
#882EA6 #A6882E #2EA688
tetradic
#882EA6 #A64C2E #4CA62E #2E88A6
square
#882EA6 #A64C2E #4CA62E #2E88A6
split-complementary
#882EA6 #88A62E #2EA64C
monochromatic
#391346 #612176 #882EA6 #AA46CC #C076D9

Accessibility & contrast

On white

7.03
#882EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#882EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882EA6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA6#FFFFFF#000000##FFFFFF
##882EA61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#864767
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882ea6;
/* rgb */ color: rgb(136, 46, 166);
/* oklch */ color: oklch(48.8% 0.191 316.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fc1',
    500: '#882ea6',
    950: '#000000',
  },
}
SCSS
$custom: #882ea6;
$custom-light: #ae6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea6",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 285,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.19108,
    "h": 316.2
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#882EA6
secondary
#83C16F
accent
#E0486E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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