#E387FC#E387FC

#E387FC is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.3% C 0.185 H 318.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#E387FC
RGBrgb(227, 135, 252)
HSLhsl(287, 95%, 76%)
HSVhsv(287, 46%, 99%)
CMYKcmyk(9.9%, 46.4%, 0%, 1.2%)
CIE-LABlab(69.96, 53.37, -44.16)
CIE-LCHlch(69.96, 69.27, 320.40°)
OKLaboklab(76.3% 0.1395 -0.1221)
OKLCHoklch(76.3% 0.185 318.8)
XYZxyz(57.9109, 40.6891, 96.8798)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387FC #A0FC87
analogous
#A887FC #E387FC #FC87DB
triadic
#E387FC #FCE387 #87FCE3
tetradic
#E387FC #FCA887 #A0FC87 #87DBFC
square
#E387FC #FCA887 #A0FC87 #87DBFC
split-complementary
#E387FC #DBFC87 #87FCA8
monochromatic
#C710F9 #D54BFB #E387FC #F1C3FD #F8E1FE

Accessibility & contrast

On white

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

On black

9.14
#E387FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387FC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387FC#FFFFFF#000000##000000
##E387FC1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e387fc;
/* rgb */ color: rgb(227, 135, 252);
/* oklch */ color: oklch(76.3% 0.185 318.8);
Tailwind
colors: {
  custom: {
    50: '#eeacfe',
    500: '#e387fc',
    950: '#000000',
  },
}
SCSS
$custom: #e387fc;
$custom-light: #eeacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e387fc",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 287.179,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76302,
    "c": 0.18541,
    "h": 318.8
  },
  "luminance": 0.40687
}

Semantic roles & 50–950 ramp

primary
#E387FC
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E387FC

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

Preview Lab → · Contrast checker → · Palette generator →

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