#E787FD#E787FD

#E787FD is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.8% C 0.188 H 319.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#E787FD
RGBrgb(231, 135, 253)
HSLhsl(289, 97%, 76%)
HSVhsv(289, 47%, 99%)
CMYKcmyk(8.7%, 46.6%, 0%, 0.8%)
CIE-LABlab(70.46, 54.67, -43.88)
CIE-LCHlch(70.46, 70.10, 321.25°)
OKLaboklab(76.79% 0.1442 -0.1213)
OKLCHoklch(76.79% 0.188 319.9)
XYZxyz(59.3464, 41.4109, 97.7764)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787FD #9DFD87
analogous
#AC87FD #E787FD #FD87D8
triadic
#E787FD #FDE787 #87FDE7
tetradic
#E787FD #FDAC87 #9DFD87 #87D8FD
square
#E787FD #FDAC87 #9DFD87 #87D8FD
split-complementary
#E787FD #D8FD87 #87FDAC
monochromatic
#CF0FFB #DB4BFC #E787FD #F3C3FE #F9E1FE

Accessibility & contrast

On white

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

On black

9.28
#E787FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787FD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787FD#FFFFFF#000000##000000
##E787FD1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#E897B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e787fd;
/* rgb */ color: rgb(231, 135, 253);
/* oklch */ color: oklch(76.8% 0.188 319.9);
Tailwind
colors: {
  custom: {
    50: '#f1adfe',
    500: '#e787fd',
    950: '#000000',
  },
}
SCSS
$custom: #e787fd;
$custom-light: #f1adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e787fd",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 288.814,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76792,
    "c": 0.18839,
    "h": 319.9
  },
  "luminance": 0.41409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787FD

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

Preview Lab → · Contrast checker → · Palette generator →

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