#E987EC#E987EC

#E987EC is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.2% C 0.173 H 326.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#E987EC
RGBrgb(233, 135, 236)
HSLhsl(298, 73%, 73%)
HSVhsv(298, 43%, 93%)
CMYKcmyk(1.3%, 42.8%, 0%, 7.5%)
CIE-LABlab(69.97, 52.08, -35.33)
CIE-LCHlch(69.97, 62.93, 325.85°)
OKLaboklab(76.24% 0.1436 -0.0967)
OKLCHoklch(76.24% 0.173 326)
XYZxyz(57.4073, 40.7104, 84.1746)
Luminance0.4071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987EC #8AEC87
analogous
#B787EC #E987EC #EC87BC
triadic
#E987EC #ECE987 #87ECE9
tetradic
#E987EC #ECB787 #8AEC87 #87BCEC
square
#E987EC #ECB787 #8AEC87 #87BCEC
split-complementary
#E987EC #BCEC87 #87ECB7
monochromatic
#D122D7 #DF52E4 #E987EC #F3BCF4 #FAE5FB

Accessibility & contrast

On white

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

On black

9.14
#E987EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987EC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987EC#FFFFFF#000000##000000
##E987EC1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3F0
Deuteranopia (green-blind)
#99AFE9
Tritanopia (blue-blind)
#EE92AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #e987ec;
/* rgb */ color: rgb(233, 135, 236);
/* oklch */ color: oklch(76.2% 0.173 326.0);
Tailwind
colors: {
  custom: {
    50: '#f2acf2',
    500: '#e987ec',
    950: '#000000',
  },
}
SCSS
$custom: #e987ec;
$custom-light: #f2acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#e987ec",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 298.218,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7624,
    "c": 0.17309,
    "h": 326
  },
  "luminance": 0.40708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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