#882EAA#882EAA

#882EAA is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.195 H 314.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#882EAA
RGBrgb(136, 46, 170)
HSLhsl(284, 57%, 42%)
HSVhsv(284, 73%, 67%)
CMYKcmyk(20%, 72.9%, 0%, 33.3%)
CIE-LABlab(38.01, 56.38, -48.92)
CIE-LCHlch(38.01, 74.65, 319.05°)
OKLaboklab(49.05% 0.1376 -0.1379)
OKLCHoklch(49.05% 0.195 314.9)
XYZxyz(18.3848, 10.0912, 39.0018)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EAA #50AA2E
analogous
#4A2EAA #882EAA #AA2E8E
triadic
#882EAA #AA882E #2EAA88
tetradic
#882EAA #AA4A2E #50AA2E #2E8EAA
square
#882EAA #AA4A2E #50AA2E #2E8EAA
split-complementary
#882EAA #8EAA2E #2EAA4A
monochromatic
#3B144A #61217A #882EAA #A948CD #BF78DA

Accessibility & contrast

On white

6.96
#882EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#882EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EAA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EAA#FFFFFF#000000##FFFFFF
##882EAA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#295CA7
Tritanopia (blue-blind)
#854869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882eaa;
/* rgb */ color: rgb(136, 46, 170);
/* oklch */ color: oklch(49.1% 0.195 314.9);
Tailwind
colors: {
  custom: {
    50: '#af6fc4',
    500: '#882eaa',
    950: '#000000',
  },
}
SCSS
$custom: #882eaa;
$custom-light: #af6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#882eaa",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 283.548,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.1948,
    "h": 314.9
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#882EAA
secondary
#88C371
accent
#E14771
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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