#E787ED#E787ED

#E787ED is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.1% C 0.173 H 325.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#E787ED
RGBrgb(231, 135, 237)
HSLhsl(296, 74%, 73%)
HSVhsv(296, 43%, 93%)
CMYKcmyk(2.5%, 43%, 0%, 7.1%)
CIE-LABlab(69.78, 51.68, -36.20)
CIE-LCHlch(69.78, 63.10, 324.99°)
OKLaboklab(76.06% 0.1415 -0.0992)
OKLCHoklch(76.06% 0.173 325)
XYZxyz(56.9037, 40.4338, 84.9115)
Luminance0.4043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787ED #8DED87
analogous
#B487ED #E787ED #ED87C0
triadic
#E787ED #EDE787 #87EDE7
tetradic
#E787ED #EDB487 #8DED87 #87C0ED
square
#E787ED #EDB487 #8DED87 #87C0ED
split-complementary
#E787ED #C0ED87 #87EDB4
monochromatic
#CE21D9 #DC52E5 #E787ED #F2BCF5 #FAE4FB

Accessibility & contrast

On white

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

On black

9.09
#E787ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787ED
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787ED#FFFFFF#000000##000000
##E787ED1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#EB92AF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e787ed;
/* rgb */ color: rgb(231, 135, 237);
/* oklch */ color: oklch(76.1% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf3',
    500: '#e787ed',
    950: '#000000',
  },
}
SCSS
$custom: #e787ed;
$custom-light: #f0acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ed",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 296.471,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.17282,
    "h": 325
  },
  "luminance": 0.40431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787ED

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

Preview Lab → · Contrast checker → · Palette generator →

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