#E787EB#E787EB

#E787EB is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.171 H 325.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#E787EB
RGBrgb(231, 135, 235)
HSLhsl(298, 71%, 73%)
HSVhsv(298, 43%, 92%)
CMYKcmyk(1.7%, 42.6%, 0%, 7.8%)
CIE-LABlab(69.70, 51.31, -35.23)
CIE-LCHlch(69.70, 62.24, 325.53°)
OKLaboklab(75.97% 0.1411 -0.0964)
OKLCHoklch(75.97% 0.171 325.6)
XYZxyz(56.6131, 40.3176, 83.3812)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787EB #8BEB87
analogous
#B587EB #E787EB #EB87BD
triadic
#E787EB #EBE787 #87EBE7
tetradic
#E787EB #EBB587 #8BEB87 #87BDEB
square
#E787EB #EBB587 #8BEB87 #87BDEB
split-complementary
#E787EB #BDEB87 #87EBB5
monochromatic
#CD23D4 #DD53E2 #E787EB #F1BBF4 #FAE5FB

Accessibility & contrast

On white

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

On black

9.06
#E787EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787EB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787EB#FFFFFF#000000##000000
##E787EB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#EC92AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e787eb;
/* rgb */ color: rgb(231, 135, 235);
/* oklch */ color: oklch(76.0% 0.171 325.6);
Tailwind
colors: {
  custom: {
    50: '#f0acf1',
    500: '#e787eb',
    950: '#000000',
  },
}
SCSS
$custom: #e787eb;
$custom-light: #f0acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e787eb",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 297.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.17093,
    "h": 325.6
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#E787EB
secondary
#DAF2D9
accent
#D3121A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E787EB

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

Preview Lab → · Contrast checker → · Palette generator →

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