#E787FF#E787FF

#E787FF is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.9% C 0.190 H 319.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#E787FF
RGBrgb(231, 135, 255)
HSLhsl(288, 100%, 76%)
HSVhsv(288, 47%, 100%)
CMYKcmyk(9.4%, 47.1%, 0%, 0%)
CIE-LABlab(70.55, 55.05, -44.83)
CIE-LCHlch(70.55, 71.00, 320.84°)
OKLaboklab(76.89% 0.1445 -0.124)
OKLCHoklch(76.89% 0.19 319.4)
XYZxyz(59.6666, 41.5390, 99.4632)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787FF #9FFF87
analogous
#AB87FF #E787FF #FF87DB
triadic
#E787FF #FFE787 #87FFE7
tetradic
#E787FF #FFAB87 #9FFF87 #87DBFF
square
#E787FF #FFAB87 #9FFF87 #87DBFF
split-complementary
#E787FF #DBFF87 #87FFAB
monochromatic
#CF0DFF #DB4AFF #E787FF #F3C4FF #F9E0FF

Accessibility & contrast

On white

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

On black

9.31
#E787FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787FF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787FF#FFFFFF#000000##000000
##E787FF1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#E897B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e787ff;
/* rgb */ color: rgb(231, 135, 255);
/* oklch */ color: oklch(76.9% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#f1adff',
    500: '#e787ff',
    950: '#000000',
  },
}
SCSS
$custom: #e787ff;
$custom-light: #f1adff;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ff",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 288,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76887,
    "c": 0.19039,
    "h": 319.4
  },
  "luminance": 0.41537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787FF

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

Preview Lab → · Contrast checker → · Palette generator →

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