#E987EF#E987EF

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

Color values

HEX#E987EF
RGBrgb(233, 135, 239)
HSLhsl(297, 76%, 73%)
HSVhsv(297, 44%, 94%)
CMYKcmyk(2.5%, 43.5%, 0%, 6.3%)
CIE-LABlab(70.10, 52.62, -36.78)
CIE-LCHlch(70.10, 64.20, 325.05°)
OKLaboklab(76.37% 0.1441 -0.1008)
OKLCHoklch(76.37% 0.176 325)
XYZxyz(57.8469, 40.8862, 86.4894)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987EF #8DEF87
analogous
#B587EF #E987EF #EF87C1
triadic
#E987EF #EFE987 #87EFE9
tetradic
#E987EF #EFB587 #8DEF87 #87C1EF
square
#E987EF #EFB587 #8DEF87 #87C1EF
split-complementary
#E987EF #C1EF87 #87EFB5
monochromatic
#D31EDE #DF51E8 #E987EF #F3BDF6 #FAE4FB

Accessibility & contrast

On white

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

On black

9.18
#E987EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987EF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987EF#FFFFFF#000000##000000
##E987EF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#97B0EC
Tritanopia (blue-blind)
#ED92B0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e987ef;
/* rgb */ color: rgb(233, 135, 239);
/* oklch */ color: oklch(76.4% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#f2acf4',
    500: '#e987ef',
    950: '#000000',
  },
}
SCSS
$custom: #e987ef;
$custom-light: #f2acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#e987ef",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 296.538,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76373,
    "c": 0.1759,
    "h": 325
  },
  "luminance": 0.40884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E987EF

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

Preview Lab → · Contrast checker → · Palette generator →

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