#E987DF#E987DF

#E987DF is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.7% C 0.161 H 330.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#E987DF
RGBrgb(233, 135, 223)
HSLhsl(306, 69%, 72%)
HSVhsv(306, 42%, 91%)
CMYKcmyk(0%, 42.1%, 4.3%, 8.6%)
CIE-LABlab(69.46, 49.78, -28.97)
CIE-LCHlch(69.46, 57.60, 329.81°)
OKLaboklab(75.69% 0.1409 -0.0786)
OKLCHoklch(75.69% 0.161 330.8)
XYZxyz(55.5869, 39.9822, 74.5871)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E987DF #87E991
analogous
#C287E9 #E987DF #E987AE
triadic
#E987DF #DFE987 #87DFE9
tetradic
#E987DF #E9C287 #87E991 #87AEE9
square
#E987DF #E9C287 #87E991 #87AEE9
split-complementary
#E987DF #AEE987 #87E9C2
monochromatic
#D026BE #E053D1 #E987DF #F2BBED #FAE5F8

Accessibility & contrast

On white

2.33
#E987DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#E987DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E987DF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E987DF#FFFFFF#000000##000000
##E987DF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E2
Deuteranopia (green-blind)
#9EAFDC
Tritanopia (blue-blind)
#F08EA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e987df;
/* rgb */ color: rgb(233, 135, 223);
/* oklch */ color: oklch(75.7% 0.161 330.8);
Tailwind
colors: {
  custom: {
    50: '#f2ace9',
    500: '#e987df',
    950: '#000000',
  },
}
SCSS
$custom: #e987df;
$custom-light: #f2ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#e987df",
  "rgb": {
    "r": 233,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 306.122,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75685,
    "c": 0.16133,
    "h": 330.8
  },
  "luminance": 0.39979
}

Semantic roles & 50–950 ramp

primary
#E987DF
secondary
#D9F2DC
accent
#D12815
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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