#E987F8#E987F8

#E987F8 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.8% C 0.185 H 322.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E987F8
RGBrgb(233, 135, 248)
HSLhsl(292, 89%, 75%)
HSVhsv(292, 46%, 97%)
CMYKcmyk(6%, 45.6%, 0%, 2.7%)
CIE-LABlab(70.48, 54.28, -41.11)
CIE-LCHlch(70.48, 68.09, 322.86°)
OKLaboklab(76.78% 0.1457 -0.1133)
OKLCHoklch(76.78% 0.185 322.1)
XYZxyz(59.2097, 41.4313, 93.6669)
Luminance0.4143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987F8 #96F887
analogous
#B087F8 #E987F8 #F887CF
triadic
#E987F8 #F8E987 #87F8E9
tetradic
#E987F8 #F8B087 #96F887 #87CFF8
square
#E987F8 #F8B087 #96F887 #87CFF8
split-complementary
#E987F8 #CFF887 #87F8B0
monochromatic
#D413F1 #DE4DF5 #E987F8 #F4C1FB #FAE2FD

Accessibility & contrast

On white

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

On black

9.29
#E987F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987F8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987F8#FFFFFF#000000##000000
##E987F81.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#EC95B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e987f8;
/* rgb */ color: rgb(233, 135, 248);
/* oklch */ color: oklch(76.8% 0.185 322.1);
Tailwind
colors: {
  custom: {
    50: '#f2adfb',
    500: '#e987f8',
    950: '#000000',
  },
}
SCSS
$custom: #e987f8;
$custom-light: #f2adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#e987f8",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 292.035,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76781,
    "c": 0.18453,
    "h": 322.1
  },
  "luminance": 0.41429
}

Semantic roles & 50–950 ramp

primary
#E987F8
secondary
#DAF5D6
accent
#E6001E
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E987F8

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

Preview Lab → · Contrast checker → · Palette generator →

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