#E787F6#E787F6

#E787F6 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.5% C 0.181 H 322.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#E787F6
RGBrgb(231, 135, 246)
HSLhsl(292, 86%, 75%)
HSVhsv(292, 45%, 96%)
CMYKcmyk(6.1%, 45.1%, 0%, 3.5%)
CIE-LABlab(70.16, 53.34, -40.54)
CIE-LCHlch(70.16, 67.00, 322.77°)
OKLaboklab(76.46% 0.1431 -0.1116)
OKLCHoklch(76.46% 0.182 322)
XYZxyz(58.2517, 40.9731, 92.0111)
Luminance0.4097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787F6 #96F687
analogous
#B087F6 #E787F6 #F687CE
triadic
#E787F6 #F6E787 #87F6E7
tetradic
#E787F6 #F6B087 #96F687 #87CEF6
square
#E787F6 #F6B087 #96F687 #87CEF6
split-complementary
#E787F6 #CEF687 #87F6B0
monochromatic
#D015ED #DC4EF2 #E787F6 #F2C0FA #F9E3FD

Accessibility & contrast

On white

2.28
#E787F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#E787F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787F6
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787F6#FFFFFF#000000##000000
##E787F61.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4FA
Deuteranopia (green-blind)
#93AFF3
Tritanopia (blue-blind)
#EA95B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e787f6;
/* rgb */ color: rgb(231, 135, 246);
/* oklch */ color: oklch(76.5% 0.181 322.0);
Tailwind
colors: {
  custom: {
    50: '#f0acf9',
    500: '#e787f6',
    950: '#000000',
  },
}
SCSS
$custom: #e787f6;
$custom-light: #f0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#e787f6",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 291.892,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76464,
    "c": 0.1815,
    "h": 322
  },
  "luminance": 0.40971
}

Semantic roles & 50–950 ramp

primary
#E787F6
secondary
#DAF5D6
accent
#E30321
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E787F6

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

Preview Lab → · Contrast checker → · Palette generator →

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