#E987FA#E987FA

#E987FA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.9% C 0.186 H 321.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#E987FA
RGBrgb(233, 135, 250)
HSLhsl(291, 92%, 75%)
HSVhsv(291, 46%, 98%)
CMYKcmyk(6.8%, 46%, 0%, 2%)
CIE-LABlab(70.56, 54.66, -42.07)
CIE-LCHlch(70.56, 68.97, 322.41°)
OKLaboklab(76.87% 0.146 -0.116)
OKLCHoklch(76.87% 0.186 321.5)
XYZxyz(59.5216, 41.5561, 95.3098)
Luminance0.4155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987FA #98FA87
analogous
#AF87FA #E987FA #FA87D2
triadic
#E987FA #FAE987 #87FAE9
tetradic
#E987FA #FAAF87 #98FA87 #87D2FA
square
#E987FA #FAAF87 #98FA87 #87D2FA
split-complementary
#E987FA #D2FA87 #87FAAF
monochromatic
#D311F5 #DE4CF8 #E987FA #F4C2FC #FAE2FE

Accessibility & contrast

On white

2.26
#E987FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#E987FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987FA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987FA#FFFFFF#000000##000000
##E987FA1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FE
Deuteranopia (green-blind)
#93B0F7
Tritanopia (blue-blind)
#EB95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e987fa;
/* rgb */ color: rgb(233, 135, 250);
/* oklch */ color: oklch(76.9% 0.186 321.5);
Tailwind
colors: {
  custom: {
    50: '#f2adfc',
    500: '#e987fa',
    950: '#000000',
  },
}
SCSS
$custom: #e987fa;
$custom-light: #f2adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#e987fa",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 291.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76874,
    "c": 0.18647,
    "h": 321.5
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#E987FA
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E987FA

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

Preview Lab → · Contrast checker → · Palette generator →

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