#E787EF#E787EF

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

Color values

HEX#E787EF
RGBrgb(231, 135, 239)
HSLhsl(295, 76%, 73%)
HSVhsv(295, 44%, 94%)
CMYKcmyk(3.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(69.86, 52.05, -37.17)
CIE-LCHlch(69.86, 63.95, 324.47°)
OKLaboklab(76.15% 0.1419 -0.102)
OKLCHoklch(76.15% 0.175 324.3)
XYZxyz(57.1975, 40.5514, 86.4590)
Luminance0.4055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787EF #8FEF87
analogous
#B387EF #E787EF #EF87C3
triadic
#E787EF #EFE787 #87EFE7
tetradic
#E787EF #EFB387 #8FEF87 #87C3EF
square
#E787EF #EFB387 #8FEF87 #87C3EF
split-complementary
#E787EF #C3EF87 #87EFB3
monochromatic
#CF1EDE #DC51E8 #E787EF #F2BDF6 #FAE4FB

Accessibility & contrast

On white

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

On black

9.11
#E787EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787EF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787EF#FFFFFF#000000##000000
##E787EF1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#EB93B0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e787ef;
/* rgb */ color: rgb(231, 135, 239);
/* oklch */ color: oklch(76.1% 0.175 324.3);
Tailwind
colors: {
  custom: {
    50: '#f0acf4',
    500: '#e787ef',
    950: '#000000',
  },
}
SCSS
$custom: #e787ef;
$custom-light: #f0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ef",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 295.385,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76146,
    "c": 0.17473,
    "h": 324.3
  },
  "luminance": 0.40549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787EF

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

Preview Lab → · Contrast checker → · Palette generator →

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