#882EA2#882EA2

#882EA2 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.187 H 317.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#882EA2
RGBrgb(136, 46, 162)
HSLhsl(287, 56%, 41%)
HSVhsv(287, 72%, 64%)
CMYKcmyk(16%, 71.6%, 0%, 36.5%)
CIE-LABlab(37.48, 54.76, -44.98)
CIE-LCHlch(37.48, 70.87, 320.60°)
OKLaboklab(48.51% 0.1384 -0.1263)
OKLCHoklch(48.51% 0.187 317.6)
XYZxyz(17.6510, 9.7976, 35.1368)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA2 #48A22E
analogous
#4E2EA2 #882EA2 #A22E82
triadic
#882EA2 #A2882E #2EA288
tetradic
#882EA2 #A24E2E #48A22E #2E82A2
square
#882EA2 #A24E2E #48A22E #2E82A2
split-complementary
#882EA2 #82A22E #2EA24E
monochromatic
#381343 #602072 #882EA2 #AC43CA #C173D7

Accessibility & contrast

On white

7.10
#882EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#882EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882EA2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA2#FFFFFF#000000##FFFFFF
##882EA21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#874565
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ea2;
/* rgb */ color: rgb(136, 46, 162);
/* oklch */ color: oklch(48.5% 0.187 317.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fbe',
    500: '#882ea2',
    950: '#000000',
  },
}
SCSS
$custom: #882ea2;
$custom-light: #ae6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea2",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 286.552,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.18739,
    "h": 317.6
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#882EA2
secondary
#7FBF6D
accent
#DF496A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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