#E887DC#E887DC

#E887DC is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.4% C 0.158 H 331.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#E887DC
RGBrgb(232, 135, 220)
HSLhsl(307, 68%, 72%)
HSVhsv(307, 42%, 91%)
CMYKcmyk(0%, 41.8%, 5.2%, 9%)
CIE-LABlab(69.22, 48.97, -27.68)
CIE-LCHlch(69.22, 56.25, 330.52°)
OKLaboklab(75.45% 0.1391 -0.075)
OKLCHoklch(75.45% 0.158 331.7)
XYZxyz(54.8605, 39.6540, 72.4606)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E887DC #87E893
analogous
#C487E8 #E887DC #E887AC
triadic
#E887DC #DCE887 #87DCE8
tetradic
#E887DC #E8C487 #87E893 #87ACE8
square
#E887DC #E8C487 #87E893 #87ACE8
split-complementary
#E887DC #ACE887 #87E8C4
monochromatic
#CD27B9 #DE54CD #E887DC #F2BAEB #FAE5F8

Accessibility & contrast

On white

2.35
#E887DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#E887DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E887DC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E887DC#FFFFFF#000000##000000
##E887DC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DF
Deuteranopia (green-blind)
#9EAED9
Tritanopia (blue-blind)
#EF8DA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e887dc;
/* rgb */ color: rgb(232, 135, 220);
/* oklch */ color: oklch(75.4% 0.158 331.7);
Tailwind
colors: {
  custom: {
    50: '#f1ace7',
    500: '#e887dc',
    950: '#000000',
  },
}
SCSS
$custom: #e887dc;
$custom-light: #f1ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#e887dc",
  "rgb": {
    "r": 232,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 307.423,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75446,
    "c": 0.15801,
    "h": 331.7
  },
  "luminance": 0.39651
}

Semantic roles & 50–950 ramp

primary
#E887DC
secondary
#D9F2DC
accent
#D02D16
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E887DC

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

Preview Lab → · Contrast checker → · Palette generator →

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