#E787EE#E787EE

#E787EE is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.1% C 0.174 H 324.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#E787EE
RGBrgb(231, 135, 238)
HSLhsl(296, 75%, 73%)
HSVhsv(296, 43%, 93%)
CMYKcmyk(2.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(69.82, 51.86, -36.68)
CIE-LCHlch(69.82, 63.52, 324.73°)
OKLaboklab(76.1% 0.1417 -0.1006)
OKLCHoklch(76.1% 0.174 324.6)
XYZxyz(57.0502, 40.4924, 85.6831)
Luminance0.4049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787EE #8EEE87
analogous
#B387EE #E787EE #EE87C1
triadic
#E787EE #EEE787 #87EEE7
tetradic
#E787EE #EEB387 #8EEE87 #87C1EE
square
#E787EE #EEB387 #8EEE87 #87C1EE
split-complementary
#E787EE #C1EE87 #87EEB3
monochromatic
#CF1FDC #DC51E6 #E787EE #F2BDF6 #FAE4FB

Accessibility & contrast

On white

2.31
#E787EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#E787EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787EE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787EE#FFFFFF#000000##000000
##E787EE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#EB92AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e787ee;
/* rgb */ color: rgb(231, 135, 238);
/* oklch */ color: oklch(76.1% 0.174 324.6);
Tailwind
colors: {
  custom: {
    50: '#f0acf4',
    500: '#e787ee',
    950: '#000000',
  },
}
SCSS
$custom: #e787ee;
$custom-light: #f0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ee",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 295.922,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76101,
    "c": 0.17377,
    "h": 324.6
  },
  "luminance": 0.4049
}

Semantic roles & 50–950 ramp

primary
#E787EE
secondary
#DAF3D8
accent
#D70E1C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E787EE

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

Preview Lab → · Contrast checker → · Palette generator →

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