#E987F0#E987F0

#E987F0 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.4% C 0.177 H 324.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#E987F0
RGBrgb(233, 135, 240)
HSLhsl(296, 78%, 74%)
HSVhsv(296, 44%, 94%)
CMYKcmyk(2.9%, 43.8%, 0%, 5.9%)
CIE-LABlab(70.14, 52.80, -37.27)
CIE-LCHlch(70.14, 64.63, 324.79°)
OKLaboklab(76.42% 0.1443 -0.1022)
OKLCHoklch(76.42% 0.177 324.7)
XYZxyz(57.9950, 40.9455, 87.2696)
Luminance0.4094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987F0 #8EF087
analogous
#B487F0 #E987F0 #F087C2
triadic
#E987F0 #F0E987 #87F0E9
tetradic
#E987F0 #F0B487 #8EF087 #87C2F0
square
#E987F0 #F0B487 #8EF087 #87C2F0
split-complementary
#E987F0 #C2F087 #87F0B4
monochromatic
#D31CE1 #DF51E9 #E987F0 #F3BDF7 #FAE4FC

Accessibility & contrast

On white

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

On black

9.19
#E987F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987F0
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987F0#FFFFFF#000000##000000
##E987F01.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#97B0ED
Tritanopia (blue-blind)
#ED93B0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e987f0;
/* rgb */ color: rgb(233, 135, 240);
/* oklch */ color: oklch(76.4% 0.177 324.7);
Tailwind
colors: {
  custom: {
    50: '#f2acf5',
    500: '#e987f0',
    950: '#000000',
  },
}
SCSS
$custom: #e987f0;
$custom-light: #f2acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#e987f0",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 296,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.17685,
    "h": 324.7
  },
  "luminance": 0.40943
}

Semantic roles & 50–950 ramp

primary
#E987F0
secondary
#D9F3D8
accent
#DA0B19
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E987F0

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

Preview Lab → · Contrast checker → · Palette generator →

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