#E387FE#E387FE

#E387FE is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.4% C 0.187 H 318.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#E387FE
RGBrgb(227, 135, 254)
HSLhsl(286, 98%, 76%)
HSVhsv(286, 47%, 100%)
CMYKcmyk(10.6%, 46.9%, 0%, 0.4%)
CIE-LABlab(70.05, 53.76, -45.11)
CIE-LCHlch(70.05, 70.18, 320.00°)
OKLaboklab(76.4% 0.1398 -0.1249)
OKLCHoklch(76.4% 0.187 318.2)
XYZxyz(58.2295, 40.8166, 98.5578)
Luminance0.4082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387FE #A2FE87
analogous
#A887FE #E387FE #FE87DD
triadic
#E387FE #FEE387 #87FEE3
tetradic
#E387FE #FEA887 #A2FE87 #87DDFE
square
#E387FE #FEA887 #A2FE87 #87DDFE
split-complementary
#E387FE #DDFE87 #87FEA8
monochromatic
#C70EFD #D54AFD #E387FE #F1C4FF #F8E1FF

Accessibility & contrast

On white

2.29
#E387FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#E387FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387FE
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387FE#FFFFFF#000000##000000
##E387FE1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#8DAEFB
Tritanopia (blue-blind)
#E397B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e387fe;
/* rgb */ color: rgb(227, 135, 254);
/* oklch */ color: oklch(76.4% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#eeacff',
    500: '#e387fe',
    950: '#000000',
  },
}
SCSS
$custom: #e387fe;
$custom-light: #eeacff;
$custom-dark: #000000;
JSON
{
  "hex": "#e387fe",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 286.387,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76398,
    "c": 0.18744,
    "h": 318.2
  },
  "luminance": 0.40815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E387FE

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

Preview Lab → · Contrast checker → · Palette generator →

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