#E787DF#E787DF

#E787DF is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.5% C 0.160 H 330.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#E787DF
RGBrgb(231, 135, 223)
HSLhsl(305, 67%, 72%)
HSVhsv(305, 42%, 91%)
CMYKcmyk(0%, 41.6%, 3.5%, 9.4%)
CIE-LABlab(69.22, 49.18, -29.35)
CIE-LCHlch(69.22, 57.28, 329.17°)
OKLaboklab(75.46% 0.1386 -0.0798)
OKLCHoklch(75.46% 0.16 330.1)
XYZxyz(54.9376, 39.6474, 74.5567)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787DF #87E78F
analogous
#BF87E7 #E787DF #E787AF
triadic
#E787DF #DFE787 #87DFE7
tetradic
#E787DF #E7BF87 #87E78F #87AFE7
square
#E787DF #E7BF87 #87E78F #87AFE7
split-complementary
#E787DF #AFE787 #87E7BF
monochromatic
#CB29BD #DD54D1 #E787DF #F1BAED #FAE5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E787DF#FFFFFF#000000##000000
##E787DF1.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)
#83A1E2
Deuteranopia (green-blind)
#9CAEDC
Tritanopia (blue-blind)
#EE8EA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e787df;
/* rgb */ color: rgb(231, 135, 223);
/* oklch */ color: oklch(75.5% 0.160 330.1);
Tailwind
colors: {
  custom: {
    50: '#f0ace9',
    500: '#e787df',
    950: '#000000',
  },
}
SCSS
$custom: #e787df;
$custom-light: #f0ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#e787df",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 305,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75455,
    "c": 0.15994,
    "h": 330.1
  },
  "luminance": 0.39645
}

Semantic roles & 50–950 ramp

primary
#E787DF
secondary
#D9F1DB
accent
#CF2617
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E787DF

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

Preview Lab → · Contrast checker → · Palette generator →

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