#E387FD#E387FD

#E387FD is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.3% C 0.186 H 318.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#E387FD
RGBrgb(227, 135, 253)
HSLhsl(287, 97%, 76%)
HSVhsv(287, 47%, 99%)
CMYKcmyk(10.3%, 46.6%, 0%, 0.8%)
CIE-LABlab(70.00, 53.57, -44.64)
CIE-LCHlch(70.00, 69.73, 320.20°)
OKLaboklab(76.35% 0.1396 -0.1235)
OKLCHoklch(76.35% 0.186 318.5)
XYZxyz(58.0698, 40.7527, 97.7166)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387FD #A1FD87
analogous
#A887FD #E387FD #FD87DC
triadic
#E387FD #FDE387 #87FDE3
tetradic
#E387FD #FDA887 #A1FD87 #87DCFD
square
#E387FD #FDA887 #A1FD87 #87DCFD
split-complementary
#E387FD #DCFD87 #87FDA8
monochromatic
#C70FFB #D54BFC #E387FD #F1C3FE #F8E1FE

Accessibility & contrast

On white

2.30
#E387FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#E387FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387FD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387FD#FFFFFF#000000##000000
##E387FD1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#E397B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e387fd;
/* rgb */ color: rgb(227, 135, 253);
/* oklch */ color: oklch(76.3% 0.186 318.5);
Tailwind
colors: {
  custom: {
    50: '#eeacfe',
    500: '#e387fd',
    950: '#000000',
  },
}
SCSS
$custom: #e387fd;
$custom-light: #eeacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e387fd",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 286.78,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76349,
    "c": 0.18642,
    "h": 318.5
  },
  "luminance": 0.40751
}

Semantic roles & 50–950 ramp

primary
#E387FD
secondary
#DCF7D4
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E387FD

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

Preview Lab → · Contrast checker → · Palette generator →

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