#E787DB#E787DB

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

Color values

HEX#E787DB
RGBrgb(231, 135, 219)
HSLhsl(308, 67%, 72%)
HSVhsv(308, 42%, 91%)
CMYKcmyk(0%, 41.6%, 5.2%, 9.4%)
CIE-LABlab(69.06, 48.49, -27.38)
CIE-LCHlch(69.06, 55.68, 330.55°)
OKLaboklab(75.29% 0.1377 -0.0742)
OKLCHoklch(75.29% 0.156 331.7)
XYZxyz(54.4047, 39.4342, 71.7500)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787DB #87E793
analogous
#C387E7 #E787DB #E787AB
triadic
#E787DB #DBE787 #87DBE7
tetradic
#E787DB #E7C387 #87E793 #87ABE7
square
#E787DB #E7C387 #87E793 #87ABE7
split-complementary
#E787DB #ABE787 #87E7C3
monochromatic
#CB29B7 #DD54CC #E787DB #F1BAEA #FAE5F7

Accessibility & contrast

On white

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

On black

8.89
#E787DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787DB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787DB#FFFFFF#000000##000000
##E787DB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#9EADD8
Tritanopia (blue-blind)
#EE8DA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e787db;
/* rgb */ color: rgb(231, 135, 219);
/* oklch */ color: oklch(75.3% 0.156 331.7);
Tailwind
colors: {
  custom: {
    50: '#f0ace6',
    500: '#e787db',
    950: '#000000',
  },
}
SCSS
$custom: #e787db;
$custom-light: #f0ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#e787db",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 307.5,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7529,
    "c": 0.15643,
    "h": 331.7
  },
  "luminance": 0.39431
}

Semantic roles & 50–950 ramp

primary
#E787DB
secondary
#D9F1DC
accent
#CF2E17
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E787DB

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

Preview Lab → · Contrast checker → · Palette generator →

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