#E787EA#E787EA

#E787EA is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.9% C 0.170 H 326.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#E787EA
RGBrgb(231, 135, 234)
HSLhsl(298, 70%, 72%)
HSVhsv(298, 42%, 92%)
CMYKcmyk(1.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(69.65, 51.13, -34.74)
CIE-LCHlch(69.65, 61.82, 325.81°)
OKLaboklab(75.93% 0.1409 -0.0951)
OKLCHoklch(75.93% 0.17 326)
XYZxyz(56.4690, 40.2600, 82.6224)
Luminance0.4026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787EA #8AEA87
analogous
#B687EA #E787EA #EA87BB
triadic
#E787EA #EAE787 #87EAE7
tetradic
#E787EA #EAB687 #8AEA87 #87BBEA
square
#E787EA #EAB687 #8AEA87 #87BBEA
split-complementary
#E787EA #BBEA87 #87EAB6
monochromatic
#CD25D2 #DD53E1 #E787EA #F1BBF3 #FAE5FA

Accessibility & contrast

On white

2.32
#E787EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#E787EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787EA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787EA#FFFFFF#000000##000000
##E787EA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#EC91AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e787ea;
/* rgb */ color: rgb(231, 135, 234);
/* oklch */ color: oklch(75.9% 0.170 326.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf1',
    500: '#e787ea',
    950: '#000000',
  },
}
SCSS
$custom: #e787ea;
$custom-light: #f0acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ea",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 298.182,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75925,
    "c": 0.16999,
    "h": 326
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

primary
#E787EA
secondary
#DAF2D9
accent
#D21319
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E787EA

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

Preview Lab → · Contrast checker → · Palette generator →

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