#E787F9#E787F9

#E787F9 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.6% C 0.184 H 321.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#E787F9
RGBrgb(231, 135, 249)
HSLhsl(291, 90%, 75%)
HSVhsv(291, 46%, 98%)
CMYKcmyk(7.2%, 45.8%, 0%, 2.4%)
CIE-LABlab(70.29, 53.91, -41.97)
CIE-LCHlch(70.29, 68.32, 322.10°)
OKLaboklab(76.6% 0.1436 -0.1158)
OKLCHoklch(76.6% 0.184 321.1)
XYZxyz(58.7159, 41.1587, 94.4557)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787F9 #99F987
analogous
#AE87F9 #E787F9 #F987D2
triadic
#E787F9 #F9E787 #87F9E7
tetradic
#E787F9 #F9AE87 #99F987 #87D2F9
square
#E787F9 #F9AE87 #99F987 #87D2F9
split-complementary
#E787F9 #D2F987 #87F9AE
monochromatic
#D012F3 #DB4DF6 #E787F9 #F3C1FC #F9E2FE

Accessibility & contrast

On white

2.27
#E787F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#E787F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787F9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787F9#FFFFFF#000000##000000
##E787F91.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#E995B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e787f9;
/* rgb */ color: rgb(231, 135, 249);
/* oklch */ color: oklch(76.6% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#f0acfb',
    500: '#e787f9',
    950: '#000000',
  },
}
SCSS
$custom: #e787f9;
$custom-light: #f0acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#e787f9",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 290.526,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76604,
    "c": 0.18443,
    "h": 321.1
  },
  "luminance": 0.41156
}

Semantic roles & 50–950 ramp

primary
#E787F9
secondary
#DAF6D5
accent
#E60024
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E787F9

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

Preview Lab → · Contrast checker → · Palette generator →

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