#882EA3#882EA3

#882EA3 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.188 H 317.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#882EA3
RGBrgb(136, 46, 163)
HSLhsl(286, 56%, 41%)
HSVhsv(286, 72%, 64%)
CMYKcmyk(16.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(37.54, 54.96, -45.48)
CIE-LCHlch(37.54, 71.34, 320.39°)
OKLaboklab(48.57% 0.1383 -0.1278)
OKLCHoklch(48.57% 0.188 317.3)
XYZxyz(17.7402, 9.8333, 35.6068)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA3 #49A32E
analogous
#4D2EA3 #882EA3 #A32E83
triadic
#882EA3 #A3882E #2EA388
tetradic
#882EA3 #A34D2E #49A32E #2E83A3
square
#882EA3 #A34D2E #49A32E #2E83A3
split-complementary
#882EA3 #83A32E #2EA34D
monochromatic
#381344 #602173 #882EA3 #AB44CA #C174D8

Accessibility & contrast

On white

7.08
#882EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#882EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882EA3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA3#FFFFFF#000000##FFFFFF
##882EA31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#874565
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ea3;
/* rgb */ color: rgb(136, 46, 163);
/* oklch */ color: oklch(48.6% 0.188 317.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fbf',
    500: '#882ea3',
    950: '#000000',
  },
}
SCSS
$custom: #882ea3;
$custom-light: #ae6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea3",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 286.154,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.18831,
    "h": 317.3
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#882EA3
secondary
#80BF6D
accent
#DF496B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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