#E882DC#E882DC

#E882DC is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.166 H 331.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#E882DC
RGBrgb(232, 130, 220)
HSLhsl(307, 69%, 71%)
HSVhsv(307, 44%, 91%)
CMYKcmyk(0%, 44%, 5.2%, 9%)
CIE-LABlab(68.23, 51.49, -29.20)
CIE-LCHlch(68.23, 59.19, 330.44°)
OKLaboklab(74.71% 0.1463 -0.0793)
OKLCHoklch(74.71% 0.166 331.5)
XYZxyz(54.1792, 38.2914, 72.2335)
Luminance0.3829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E882DC #82E88E
analogous
#C182E8 #E882DC #E882A9
triadic
#E882DC #DCE882 #82DCE8
tetradic
#E882DC #E8C182 #82E88E #82A9E8
square
#E882DC #E8C182 #82E88E #82A9E8
split-complementary
#E882DC #A9E882 #82E8C1
monochromatic
#CA25B7 #DE4ECE #E882DC #F2B6EA #FAE5F8

Accessibility & contrast

On white

2.43
#E882DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#E882DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E882DC
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E882DC#FFFFFF#000000##000000
##E882DC1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#9AACD9
Tritanopia (blue-blind)
#F089A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e882dc;
/* rgb */ color: rgb(232, 130, 220);
/* oklch */ color: oklch(74.7% 0.166 331.5);
Tailwind
colors: {
  custom: {
    50: '#f1a9e7',
    500: '#e882dc',
    950: '#000000',
  },
}
SCSS
$custom: #e882dc;
$custom-light: #f1a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e882dc",
  "rgb": {
    "r": 232,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 307.059,
    "s": 68.919,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74707,
    "c": 0.16637,
    "h": 331.5
  },
  "luminance": 0.38288
}

Semantic roles & 50–950 ramp

primary
#E882DC
secondary
#D5F0D9
accent
#D12B15
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E882DC

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

Preview Lab → · Contrast checker → · Palette generator →

#E882DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva