#E987FE#E987FE

#E987FE is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.1% C 0.190 H 320.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#E987FE
RGBrgb(233, 135, 254)
HSLhsl(289, 98%, 76%)
HSVhsv(289, 47%, 100%)
CMYKcmyk(8.3%, 46.9%, 0%, 0.4%)
CIE-LABlab(70.74, 55.41, -43.98)
CIE-LCHlch(70.74, 70.74, 321.56°)
OKLaboklab(77.06% 0.1466 -0.1215)
OKLCHoklch(77.06% 0.19 320.4)
XYZxyz(60.1555, 41.8096, 98.6481)
Luminance0.4181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987FE #9CFE87
analogous
#AE87FE #E987FE #FE87D8
triadic
#E987FE #FEE987 #87FEE9
tetradic
#E987FE #FEAE87 #9CFE87 #87D8FE
square
#E987FE #FEAE87 #9CFE87 #87D8FE
split-complementary
#E987FE #D8FE87 #87FEAE
monochromatic
#D30EFD #DE4AFD #E987FE #F4C4FF #F9E1FF

Accessibility & contrast

On white

2.24
#E987FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#E987FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987FE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987FE#FFFFFF#000000##000000
##E987FE1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#EB97B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e987fe;
/* rgb */ color: rgb(233, 135, 254);
/* oklch */ color: oklch(77.1% 0.190 320.4);
Tailwind
colors: {
  custom: {
    50: '#f2adff',
    500: '#e987fe',
    950: '#000000',
  },
}
SCSS
$custom: #e987fe;
$custom-light: #f2adff;
$custom-dark: #000000;
JSON
{
  "hex": "#e987fe",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 289.412,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77062,
    "c": 0.1904,
    "h": 320.4
  },
  "luminance": 0.41807
}

Semantic roles & 50–950 ramp

primary
#E987FE
secondary
#DAF7D4
accent
#E60028
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E987FE

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

Preview Lab → · Contrast checker → · Palette generator →

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