#E386FC#E386FC

#E386FC is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.2% C 0.187 H 318.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#E386FC
RGBrgb(227, 134, 252)
HSLhsl(287, 95%, 76%)
HSVhsv(287, 47%, 99%)
CMYKcmyk(9.9%, 46.8%, 0%, 1.2%)
CIE-LABlab(69.76, 53.88, -44.47)
CIE-LCHlch(69.76, 69.86, 320.47°)
OKLaboklab(76.16% 0.1408 -0.123)
OKLCHoklch(76.16% 0.187 318.9)
XYZxyz(57.7720, 40.4114, 96.8335)
Luminance0.4041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E386FC #9FFC86
analogous
#A886FC #E386FC #FC86DA
triadic
#E386FC #FCE386 #86FCE3
tetradic
#E386FC #FCA886 #9FFC86 #86DAFC
square
#E386FC #FCA886 #9FFC86 #86DAFC
split-complementary
#E386FC #DAFC86 #86FCA8
monochromatic
#C70FF9 #D54AFB #E386FC #F1C2FD #F8E1FE

Accessibility & contrast

On white

2.31
#E386FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#E386FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E386FC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E386FC#FFFFFF#000000##000000
##E386FC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#E496B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e386fc;
/* rgb */ color: rgb(227, 134, 252);
/* oklch */ color: oklch(76.2% 0.187 318.9);
Tailwind
colors: {
  custom: {
    50: '#eeacfe',
    500: '#e386fc',
    950: '#000000',
  },
}
SCSS
$custom: #e386fc;
$custom-light: #eeacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e386fc",
  "rgb": {
    "r": 227,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 287.288,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76156,
    "c": 0.18701,
    "h": 318.9
  },
  "luminance": 0.40409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E386FC

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

Preview Lab → · Contrast checker → · Palette generator →

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