#E788EA#E788EA

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

Color values

HEX#E788EA
RGBrgb(231, 136, 234)
HSLhsl(298, 70%, 73%)
HSVhsv(298, 42%, 92%)
CMYKcmyk(1.3%, 41.9%, 0%, 8.2%)
CIE-LABlab(69.85, 50.63, -34.43)
CIE-LCHlch(69.85, 61.23, 325.78°)
OKLaboklab(76.07% 0.1395 -0.0942)
OKLCHoklch(76.07% 0.168 326)
XYZxyz(56.6092, 40.5403, 82.6692)
Luminance0.4054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E788EA #8BEA88
analogous
#B688EA #E788EA #EA88BC
triadic
#E788EA #EAE788 #88EAE7
tetradic
#E788EA #EAB688 #8BEA88 #88BCEA
square
#E788EA #EAB688 #8BEA88 #88BCEA
split-complementary
#E788EA #BCEA88 #88EAB6
monochromatic
#CD25D2 #DD54E1 #E788EA #F1BCF3 #FAE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E788EA#FFFFFF#000000##000000
##E788EA1.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)
#7FA3ED
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#EC92AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e788ea;
/* rgb */ color: rgb(231, 136, 234);
/* oklch */ color: oklch(76.1% 0.168 326.0);
Tailwind
colors: {
  custom: {
    50: '#f0adf1',
    500: '#e788ea',
    950: '#000000',
  },
}
SCSS
$custom: #e788ea;
$custom-light: #f0adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e788ea",
  "rgb": {
    "r": 231,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 298.163,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.16833,
    "h": 326
  },
  "luminance": 0.40538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E788EA

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

Preview Lab → · Contrast checker → · Palette generator →

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