#882EA5#882EA5

#882EA5 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.190 H 316.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#882EA5
RGBrgb(136, 46, 165)
HSLhsl(285, 56%, 41%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(17.6%, 72.1%, 0%, 35.3%)
CIE-LABlab(37.67, 55.36, -46.47)
CIE-LCHlch(37.67, 72.28, 319.99°)
OKLaboklab(48.71% 0.1381 -0.1307)
OKLCHoklch(48.71% 0.19 316.6)
XYZxyz(17.9208, 9.9056, 36.5580)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA5 #4BA52E
analogous
#4D2EA5 #882EA5 #A52E87
triadic
#882EA5 #A5882E #2EA588
tetradic
#882EA5 #A54D2E #4BA52E #2E87A5
square
#882EA5 #A54D2E #4BA52E #2E87A5
split-complementary
#882EA5 #87A52E #2EA54D
monochromatic
#391345 #612175 #882EA5 #AA45CB #C075D8

Accessibility & contrast

On white

7.04
#882EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#882EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882EA5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA5#FFFFFF#000000##FFFFFF
##882EA51.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#864667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882ea5;
/* rgb */ color: rgb(136, 46, 165);
/* oklch */ color: oklch(48.7% 0.190 316.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fc0',
    500: '#882ea5',
    950: '#000000',
  },
}
SCSS
$custom: #882ea5;
$custom-light: #ae6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea5",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 285.378,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.19016,
    "h": 316.6
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#882EA5
secondary
#82C06F
accent
#E0486D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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