#E387F2#E387F2

#E387F2 is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.8% C 0.175 H 321.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#E387F2
RGBrgb(227, 135, 242)
HSLhsl(292, 80%, 74%)
HSVhsv(292, 44%, 95%)
CMYKcmyk(6.2%, 44.2%, 0%, 5.1%)
CIE-LABlab(69.52, 51.46, -39.38)
CIE-LCHlch(69.52, 64.80, 322.58°)
OKLaboklab(75.83% 0.1379 -0.1084)
OKLCHoklch(75.83% 0.175 321.8)
XYZxyz(56.3677, 40.0719, 88.7526)
Luminance0.4007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E387F2 #96F287
analogous
#AE87F2 #E387F2 #F287CC
triadic
#E387F2 #F2E387 #87F2E3
tetradic
#E387F2 #F2AE87 #96F287 #87CCF2
square
#E387F2 #F2AE87 #96F287 #87CCF2
split-complementary
#E387F2 #CCF287 #87F2AE
monochromatic
#C919E6 #D650EC #E387F2 #F0BEF8 #F9E3FC

Accessibility & contrast

On white

2.33
#E387F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#E387F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E387F2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E387F2#FFFFFF#000000##000000
##E387F21.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#E594B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e387f2;
/* rgb */ color: rgb(227, 135, 242);
/* oklch */ color: oklch(75.8% 0.175 321.8);
Tailwind
colors: {
  custom: {
    50: '#eeacf6',
    500: '#e387f2',
    950: '#000000',
  },
}
SCSS
$custom: #e387f2;
$custom-light: #eeacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#e387f2",
  "rgb": {
    "r": 227,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 291.589,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75833,
    "c": 0.17538,
    "h": 321.8
  },
  "luminance": 0.4007
}

Semantic roles & 50–950 ramp

primary
#E387F2
secondary
#DBF4D7
accent
#DD0926
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E387F2

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

Preview Lab → · Contrast checker → · Palette generator →

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