#E987EB#E987EB

#E987EB is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.2% C 0.172 H 326.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#E987EB
RGBrgb(233, 135, 235)
HSLhsl(299, 71%, 73%)
HSVhsv(299, 43%, 92%)
CMYKcmyk(0.9%, 42.6%, 0%, 7.8%)
CIE-LABlab(69.93, 51.90, -34.84)
CIE-LCHlch(69.93, 62.51, 326.12°)
OKLaboklab(76.2% 0.1434 -0.0953)
OKLCHoklch(76.2% 0.172 326.4)
XYZxyz(57.2625, 40.6524, 83.4116)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987EB #89EB87
analogous
#B787EB #E987EB #EB87BB
triadic
#E987EB #EBE987 #87EBE9
tetradic
#E987EB #EBB787 #89EB87 #87BBEB
square
#E987EB #EBB787 #89EB87 #87BBEB
split-complementary
#E987EB #BBEB87 #87EBB7
monochromatic
#D123D4 #DF53E2 #E987EB #F3BBF4 #FAE5FB

Accessibility & contrast

On white

2.30
#E987EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#E987EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987EB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987EB#FFFFFF#000000##000000
##E987EB1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#EE91AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e987eb;
/* rgb */ color: rgb(233, 135, 235);
/* oklch */ color: oklch(76.2% 0.172 326.4);
Tailwind
colors: {
  custom: {
    50: '#f2acf1',
    500: '#e987eb',
    950: '#000000',
  },
}
SCSS
$custom: #e987eb;
$custom-light: #f2acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#e987eb",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 298.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.17216,
    "h": 326.4
  },
  "luminance": 0.4065
}

Semantic roles & 50–950 ramp

primary
#E987EB
secondary
#D9F2D9
accent
#D31216
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E987EB

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

Preview Lab → · Contrast checker → · Palette generator →

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