#882EA0#882EA0

#882EA0 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 318.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#882EA0
RGBrgb(136, 46, 160)
HSLhsl(287, 55%, 40%)
HSVhsv(287, 71%, 63%)
CMYKcmyk(15%, 71.2%, 0%, 37.3%)
CIE-LABlab(37.35, 54.36, -43.98)
CIE-LCHlch(37.35, 69.93, 321.02°)
OKLaboklab(48.37% 0.1386 -0.1234)
OKLCHoklch(48.37% 0.186 318.3)
XYZxyz(17.4746, 9.7271, 34.2079)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA0 #46A02E
analogous
#4F2EA0 #882EA0 #A02E7F
triadic
#882EA0 #A0882E #2EA088
tetradic
#882EA0 #A04F2E #46A02E #2E7FA0
square
#882EA0 #A04F2E #46A02E #2E7FA0
split-complementary
#882EA0 #7FA02E #2EA04F
monochromatic
#371341 #602070 #882EA0 #AC42C9 #C172D6

Accessibility & contrast

On white

7.13
#882EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#882EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882EA0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA0#FFFFFF#000000##FFFFFF
##882EA01.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#874464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ea0;
/* rgb */ color: rgb(136, 46, 160);
/* oklch */ color: oklch(48.4% 0.186 318.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fbd',
    500: '#882ea0',
    950: '#000000',
  },
}
SCSS
$custom: #882ea0;
$custom-light: #ae6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea0",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 287.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.18554,
    "h": 318.3
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#882EA0
secondary
#7DBE6C
accent
#DF4969
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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