#E787DA#E787DA

#E787DA is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.2% C 0.156 H 332.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#E787DA
RGBrgb(231, 135, 218)
HSLhsl(308, 67%, 72%)
HSVhsv(308, 42%, 91%)
CMYKcmyk(0%, 41.6%, 5.6%, 9.4%)
CIE-LABlab(69.03, 48.32, -26.88)
CIE-LCHlch(69.03, 55.29, 330.91°)
OKLaboklab(75.25% 0.1375 -0.0728)
OKLCHoklch(75.25% 0.156 332.1)
XYZxyz(54.2734, 39.3817, 71.0588)
Luminance0.3938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787DA #87E794
analogous
#C487E7 #E787DA #E787AA
triadic
#E787DA #DAE787 #87DAE7
tetradic
#E787DA #E7C487 #87E794 #87AAE7
square
#E787DA #E7C487 #87E794 #87AAE7
split-complementary
#E787DA #AAE787 #87E7C4
monochromatic
#CB29B5 #DD54CA #E787DA #F1BAEA #FAE5F7

Accessibility & contrast

On white

2.37
#E787DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#E787DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787DA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787DA#FFFFFF#000000##000000
##E787DA1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#9EADD7
Tritanopia (blue-blind)
#EF8DA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e787da;
/* rgb */ color: rgb(231, 135, 218);
/* oklch */ color: oklch(75.2% 0.156 332.1);
Tailwind
colors: {
  custom: {
    50: '#f0ace5',
    500: '#e787da',
    950: '#000000',
  },
}
SCSS
$custom: #e787da;
$custom-light: #f0ace5;
$custom-dark: #000000;
JSON
{
  "hex": "#e787da",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 308.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75249,
    "c": 0.15556,
    "h": 332.1
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#E787DA
secondary
#D9F1DC
accent
#CF3017
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #E787DA

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

Preview Lab → · Contrast checker → · Palette generator →

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