#E987FC#E987FC

#E987FC is a light, vivid purple. Relative luminance 0.417; OKLCH L 77.0% C 0.188 H 320.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#E987FC
RGBrgb(233, 135, 252)
HSLhsl(290, 95%, 76%)
HSVhsv(290, 46%, 99%)
CMYKcmyk(7.5%, 46.4%, 0%, 1.2%)
CIE-LABlab(70.65, 55.03, -43.02)
CIE-LCHlch(70.65, 69.85, 321.98°)
OKLaboklab(76.97% 0.1463 -0.1187)
OKLCHoklch(76.97% 0.188 320.9)
XYZxyz(59.8369, 41.6822, 96.9701)
Luminance0.4168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987FC #9AFC87
analogous
#AE87FC #E987FC #FC87D5
triadic
#E987FC #FCE987 #87FCE9
tetradic
#E987FC #FCAE87 #9AFC87 #87D5FC
square
#E987FC #FCAE87 #9AFC87 #87D5FC
split-complementary
#E987FC #D5FC87 #87FCAE
monochromatic
#D310F9 #DE4BFB #E987FC #F4C3FD #FAE1FE

Accessibility & contrast

On white

2.25
#E987FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#E987FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987FC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987FC#FFFFFF#000000##000000
##E987FC1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#EB96B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e987fc;
/* rgb */ color: rgb(233, 135, 252);
/* oklch */ color: oklch(77.0% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#f2adfe',
    500: '#e987fc',
    950: '#000000',
  },
}
SCSS
$custom: #e987fc;
$custom-light: #f2adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#e987fc",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 290.256,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76968,
    "c": 0.18843,
    "h": 320.9
  },
  "luminance": 0.4168
}

Semantic roles & 50–950 ramp

primary
#E987FC
secondary
#DAF6D5
accent
#E60025
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E987FC

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

Preview Lab → · Contrast checker → · Palette generator →

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