#E387DF#E387DF

#E387DF is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.0% C 0.157 H 328.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#E387DF
RGBrgb(227, 135, 223)
HSLhsl(303, 62%, 71%)
HSVhsv(303, 41%, 89%)
CMYKcmyk(0%, 40.5%, 1.8%, 11%)
CIE-LABlab(68.74, 47.97, -30.12)
CIE-LCHlch(68.74, 56.65, 327.87°)
OKLaboklab(75% 0.1342 -0.082)
OKLCHoklch(75% 0.157 328.6)
XYZxyz(53.6610, 38.9891, 74.4969)
Luminance0.3899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387DF #87E38B
analogous
#B987E3 #E387DF #E387B1
triadic
#E387DF #DFE387 #87DFE3
tetradic
#E387DF #E3B987 #87E38B #87B1E3
square
#E387DF #E3B987 #87E38B #87B1E3
split-complementary
#E387DF #B1E387 #87E3B9
monochromatic
#C22DBC #D755D2 #E387DF #EFB9EC #F9E6F8

Accessibility & contrast

On white

2.39
#E387DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#E387DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387DF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387DF#FFFFFF#000000##000000
##E387DF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A0E2
Deuteranopia (green-blind)
#9AACDC
Tritanopia (blue-blind)
#E98FA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e387df;
/* rgb */ color: rgb(227, 135, 223);
/* oklch */ color: oklch(75.0% 0.157 328.6);
Tailwind
colors: {
  custom: {
    50: '#edace9',
    500: '#e387df',
    950: '#000000',
  },
}
SCSS
$custom: #e387df;
$custom-light: #edace9;
$custom-dark: #000000;
JSON
{
  "hex": "#e387df",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 302.609,
    "s": 62.162,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74997,
    "c": 0.15723,
    "h": 328.6
  },
  "luminance": 0.38987
}

Semantic roles & 50–950 ramp

primary
#E387DF
secondary
#D7EFD8
accent
#CA231C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #E387DF

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

Preview Lab → · Contrast checker → · Palette generator →

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