#E787FE#E787FE

#E787FE is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.189 H 319.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E787FE
RGBrgb(231, 135, 254)
HSLhsl(288, 98%, 76%)
HSVhsv(288, 47%, 100%)
CMYKcmyk(9.1%, 46.9%, 0%, 0.4%)
CIE-LABlab(70.51, 54.86, -44.36)
CIE-LCHlch(70.51, 70.55, 321.04°)
OKLaboklab(76.84% 0.1443 -0.1226)
OKLCHoklch(76.84% 0.189 319.6)
XYZxyz(59.5061, 41.4748, 98.6176)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787FE #9EFE87
analogous
#AC87FE #E787FE #FE87DA
triadic
#E787FE #FEE787 #87FEE7
tetradic
#E787FE #FEAC87 #9EFE87 #87DAFE
square
#E787FE #FEAC87 #9EFE87 #87DAFE
split-complementary
#E787FE #DAFE87 #87FEAC
monochromatic
#CF0EFD #DB4AFD #E787FE #F3C4FF #F9E1FF

Accessibility & contrast

On white

2.26
#E787FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#E787FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787FE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787FE#FFFFFF#000000##000000
##E787FE1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#E897B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e787fe;
/* rgb */ color: rgb(231, 135, 254);
/* oklch */ color: oklch(76.8% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#f1adff',
    500: '#e787fe',
    950: '#000000',
  },
}
SCSS
$custom: #e787fe;
$custom-light: #f1adff;
$custom-dark: #000000;
JSON
{
  "hex": "#e787fe",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 288.403,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7684,
    "c": 0.18939,
    "h": 319.6
  },
  "luminance": 0.41473
}

Semantic roles & 50–950 ramp

primary
#E787FE
secondary
#DBF7D4
accent
#E6002C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E787FE

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

Preview Lab → · Contrast checker → · Palette generator →

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