#E787FA#E787FA

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

Color values

HEX#E787FA
RGBrgb(231, 135, 250)
HSLhsl(290, 92%, 75%)
HSVhsv(290, 46%, 98%)
CMYKcmyk(7.6%, 46%, 0%, 2%)
CIE-LABlab(70.33, 54.10, -42.45)
CIE-LCHlch(70.33, 68.77, 321.88°)
OKLaboklab(76.65% 0.1437 -0.1171)
OKLCHoklch(76.65% 0.185 320.8)
XYZxyz(58.8722, 41.2213, 95.2793)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787FA #9AFA87
analogous
#AD87FA #E787FA #FA87D3
triadic
#E787FA #FAE787 #87FAE7
tetradic
#E787FA #FAAD87 #9AFA87 #87D3FA
square
#E787FA #FAAD87 #9AFA87 #87D3FA
split-complementary
#E787FA #D3FA87 #87FAAD
monochromatic
#CF11F5 #DB4CF8 #E787FA #F3C2FC #F9E2FE

Accessibility & contrast

On white

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

On black

9.24
#E787FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787FA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787FA#FFFFFF#000000##000000
##E787FA1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#E996B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e787fa;
/* rgb */ color: rgb(231, 135, 250);
/* oklch */ color: oklch(76.6% 0.185 320.8);
Tailwind
colors: {
  custom: {
    50: '#f0acfc',
    500: '#e787fa',
    950: '#000000',
  },
}
SCSS
$custom: #e787fa;
$custom-light: #f0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#e787fa",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 290.087,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7665,
    "c": 0.18543,
    "h": 320.8
  },
  "luminance": 0.41219
}

Semantic roles & 50–950 ramp

primary
#E787FA
secondary
#DBF6D5
accent
#E60026
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E787FA

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

Preview Lab → · Contrast checker → · Palette generator →

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