#E787DD#E787DD

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

Color values

HEX#E787DD
RGBrgb(231, 135, 221)
HSLhsl(306, 67%, 72%)
HSVhsv(306, 42%, 91%)
CMYKcmyk(0%, 41.6%, 4.3%, 9.4%)
CIE-LABlab(69.14, 48.83, -28.37)
CIE-LCHlch(69.14, 56.48, 329.85°)
OKLaboklab(75.37% 0.1382 -0.077)
OKLCHoklch(75.37% 0.158 330.9)
XYZxyz(54.6695, 39.5402, 73.1450)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787DD #87E791
analogous
#C187E7 #E787DD #E787AD
triadic
#E787DD #DDE787 #87DDE7
tetradic
#E787DD #E7C187 #87E791 #87ADE7
square
#E787DD #E7C187 #87E791 #87ADE7
split-complementary
#E787DD #ADE787 #87E7C1
monochromatic
#CB29BA #DD54CF #E787DD #F1BAEB #FAE5F8

Accessibility & contrast

On white

2.36
#E787DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#E787DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787DD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787DD#FFFFFF#000000##000000
##E787DD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E0
Deuteranopia (green-blind)
#9DAEDA
Tritanopia (blue-blind)
#EE8EA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e787dd;
/* rgb */ color: rgb(231, 135, 221);
/* oklch */ color: oklch(75.4% 0.158 330.9);
Tailwind
colors: {
  custom: {
    50: '#f0ace7',
    500: '#e787dd',
    950: '#000000',
  },
}
SCSS
$custom: #e787dd;
$custom-light: #f0ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#e787dd",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 306.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.15818,
    "h": 330.9
  },
  "luminance": 0.39537
}

Semantic roles & 50–950 ramp

primary
#E787DD
secondary
#D9F1DB
accent
#CF2A17
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E787DD

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

Preview Lab → · Contrast checker → · Palette generator →

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