#E987FB#E987FB

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

Color values

HEX#E987FB
RGBrgb(233, 135, 251)
HSLhsl(291, 94%, 76%)
HSVhsv(291, 46%, 98%)
CMYKcmyk(7.2%, 46.2%, 0%, 1.6%)
CIE-LABlab(70.61, 54.84, -42.55)
CIE-LCHlch(70.61, 69.41, 322.20°)
OKLaboklab(76.92% 0.1462 -0.1174)
OKLCHoklch(76.92% 0.187 321.2)
XYZxyz(59.6788, 41.6190, 96.1377)
Luminance0.4162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987FB #99FB87
analogous
#AF87FB #E987FB #FB87D3
triadic
#E987FB #FBE987 #87FBE9
tetradic
#E987FB #FBAF87 #99FB87 #87D3FB
square
#E987FB #FBAF87 #99FB87 #87D3FB
split-complementary
#E987FB #D3FB87 #87FBAF
monochromatic
#D311F7 #DE4CF9 #E987FB #F4C2FD #FAE1FE

Accessibility & contrast

On white

2.25
#E987FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#E987FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987FB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987FB#FFFFFF#000000##000000
##E987FB1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#92B0F8
Tritanopia (blue-blind)
#EB96B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e987fb;
/* rgb */ color: rgb(233, 135, 251);
/* oklch */ color: oklch(76.9% 0.187 321.2);
Tailwind
colors: {
  custom: {
    50: '#f2adfd',
    500: '#e987fb',
    950: '#000000',
  },
}
SCSS
$custom: #e987fb;
$custom-light: #f2adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#e987fb",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 290.69,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.18745,
    "h": 321.2
  },
  "luminance": 0.41617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E987FB

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

Preview Lab → · Contrast checker → · Palette generator →

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