#E787DE#E787DE

#E787DE is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.4% C 0.159 H 330.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#E787DE
RGBrgb(231, 135, 222)
HSLhsl(306, 67%, 72%)
HSVhsv(306, 42%, 91%)
CMYKcmyk(0%, 41.6%, 3.9%, 9.4%)
CIE-LABlab(69.18, 49.01, -28.86)
CIE-LCHlch(69.18, 56.87, 329.51°)
OKLaboklab(75.41% 0.1384 -0.0784)
OKLCHoklch(75.41% 0.159 330.5)
XYZxyz(54.8031, 39.5936, 73.8488)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787DE #87E790
analogous
#C087E7 #E787DE #E787AE
triadic
#E787DE #DEE787 #87DEE7
tetradic
#E787DE #E7C087 #87E790 #87AEE7
square
#E787DE #E7C087 #87E790 #87AEE7
split-complementary
#E787DE #AEE787 #87E7C0
monochromatic
#CB29BC #DD54D0 #E787DE #F1BAEC #FAE5F8

Accessibility & contrast

On white

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

On black

8.92
#E787DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787DE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787DE#FFFFFF#000000##000000
##E787DE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e787de;
/* rgb */ color: rgb(231, 135, 222);
/* oklch */ color: oklch(75.4% 0.159 330.5);
Tailwind
colors: {
  custom: {
    50: '#f0ace8',
    500: '#e787de',
    950: '#000000',
  },
}
SCSS
$custom: #e787de;
$custom-light: #f0ace8;
$custom-dark: #000000;
JSON
{
  "hex": "#e787de",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 305.625,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75413,
    "c": 0.15905,
    "h": 330.5
  },
  "luminance": 0.39591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787DE

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

Preview Lab → · Contrast checker → · Palette generator →

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