#E788FC#E788FC

#E788FC is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.9% C 0.186 H 320.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#E788FC
RGBrgb(231, 136, 252)
HSLhsl(289, 95%, 76%)
HSVhsv(289, 46%, 99%)
CMYKcmyk(8.3%, 46%, 0%, 1.2%)
CIE-LABlab(70.61, 53.98, -43.10)
CIE-LCHlch(70.61, 69.07, 321.39°)
OKLaboklab(76.89% 0.1427 -0.119)
OKLCHoklch(76.89% 0.186 320.2)
XYZxyz(59.3277, 41.6277, 96.9864)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E788FC #9DFC88
analogous
#AD88FC #E788FC #FC88D7
triadic
#E788FC #FCE788 #88FCE7
tetradic
#E788FC #FCAD88 #9DFC88 #88D7FC
square
#E788FC #FCAD88 #9DFC88 #88D7FC
split-complementary
#E788FC #D7FC88 #88FCAD
monochromatic
#CF11F9 #DB4CFA #E788FC #F3C4FE #F9E1FE

Accessibility & contrast

On white

2.25
#E788FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#E788FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E788FC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E788FC#FFFFFF#000000##000000
##E788FC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#E897B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e788fc;
/* rgb */ color: rgb(231, 136, 252);
/* oklch */ color: oklch(76.9% 0.186 320.2);
Tailwind
colors: {
  custom: {
    50: '#f0adfe',
    500: '#e788fc',
    950: '#000000',
  },
}
SCSS
$custom: #e788fc;
$custom-light: #f0adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e788fc",
  "rgb": {
    "r": 231,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 289.138,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7689,
    "c": 0.1858,
    "h": 320.2
  },
  "luminance": 0.41626
}

Semantic roles & 50–950 ramp

primary
#E788FC
secondary
#DBF6D5
accent
#E6002A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E788FC

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

Preview Lab → · Contrast checker → · Palette generator →

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