#E387FB#E387FB

#E387FB is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.3% C 0.184 H 319.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#E387FB
RGBrgb(227, 135, 251)
HSLhsl(288, 94%, 76%)
HSVhsv(288, 46%, 98%)
CMYKcmyk(9.6%, 46.2%, 0%, 1.6%)
CIE-LABlab(69.91, 53.18, -43.68)
CIE-LCHlch(69.91, 68.82, 320.60°)
OKLaboklab(76.25% 0.1393 -0.1208)
OKLCHoklch(76.25% 0.184 319.1)
XYZxyz(57.7528, 40.6259, 96.0475)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387FB #9FFB87
analogous
#A987FB #E387FB #FB87D9
triadic
#E387FB #FBE387 #87FBE3
tetradic
#E387FB #FBA987 #9FFB87 #87D9FB
square
#E387FB #FBA987 #9FFB87 #87D9FB
split-complementary
#E387FB #D9FB87 #87FBA9
monochromatic
#C711F7 #D54CF9 #E387FB #F1C2FD #F8E1FE

Accessibility & contrast

On white

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

On black

9.12
#E387FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387FB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387FB#FFFFFF#000000##000000
##E387FB1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#E497B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e387fb;
/* rgb */ color: rgb(227, 135, 251);
/* oklch */ color: oklch(76.3% 0.184 319.1);
Tailwind
colors: {
  custom: {
    50: '#eeacfd',
    500: '#e387fb',
    950: '#000000',
  },
}
SCSS
$custom: #e387fb;
$custom-light: #eeacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#e387fb",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 287.586,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76254,
    "c": 0.18439,
    "h": 319.1
  },
  "luminance": 0.40624
}

Semantic roles & 50–950 ramp

primary
#E387FB
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E387FB

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

Preview Lab → · Contrast checker → · Palette generator →

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