#882EA7#882EA7

#882EA7 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.192 H 315.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#882EA7
RGBrgb(136, 46, 167)
HSLhsl(285, 57%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18.6%, 72.5%, 0%, 34.5%)
CIE-LABlab(37.80, 55.77, -47.45)
CIE-LCHlch(37.80, 73.23, 319.61°)
OKLaboklab(48.85% 0.1379 -0.1336)
OKLCHoklch(48.85% 0.192 315.9)
XYZxyz(18.1043, 9.9789, 37.5242)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EA7 #4DA72E
analogous
#4C2EA7 #882EA7 #A72E8A
triadic
#882EA7 #A7882E #2EA788
tetradic
#882EA7 #A74C2E #4DA72E #2E8AA7
square
#882EA7 #A74C2E #4DA72E #2E8AA7
split-complementary
#882EA7 #8AA72E #2EA74C
monochromatic
#3A1447 #612177 #882EA7 #AA46CC #C076D9

Accessibility & contrast

On white

7.01
#882EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#882EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EA7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EA7#FFFFFF#000000##FFFFFF
##882EA71.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2D5BA4
Tritanopia (blue-blind)
#864768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882ea7;
/* rgb */ color: rgb(136, 46, 167);
/* oklch */ color: oklch(48.8% 0.192 315.9);
Tailwind
colors: {
  custom: {
    50: '#ae6fc2',
    500: '#882ea7',
    950: '#000000',
  },
}
SCSS
$custom: #882ea7;
$custom-light: #ae6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#882ea7",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 284.628,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.19201,
    "h": 315.9
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#882EA7
secondary
#85C170
accent
#E0486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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