#EF87E4#EF87E4

#EF87E4 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.6% C 0.170 H 331.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#EF87E4
RGBrgb(239, 135, 228)
HSLhsl(306, 76%, 73%)
HSVhsv(306, 44%, 94%)
CMYKcmyk(0%, 43.5%, 4.6%, 6.3%)
CIE-LABlab(70.37, 52.44, -30.25)
CIE-LCHlch(70.37, 60.54, 330.02°)
OKLaboklab(76.59% 0.1486 -0.0822)
OKLCHoklch(76.59% 0.17 331.1)
XYZxyz(58.2636, 41.2833, 78.2833)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87E4 #87EF92
analogous
#C687EF #EF87E4 #EF87B0
triadic
#EF87E4 #E4EF87 #87E4EF
tetradic
#EF87E4 #EFC687 #87EF92 #87B0EF
square
#EF87E4 #EFC687 #87EF92 #87B0EF
split-complementary
#EF87E4 #B0EF87 #87EFC6
monochromatic
#DE1ECA #E851D8 #EF87E4 #F6BDF0 #FBE4F9

Accessibility & contrast

On white

2.27
#EF87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#EF87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87E4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87E4#FFFFFF#000000##000000
##EF87E41.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A3E7
Deuteranopia (green-blind)
#9FB1E1
Tritanopia (blue-blind)
#F78EAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ef87e4;
/* rgb */ color: rgb(239, 135, 228);
/* oklch */ color: oklch(76.6% 0.170 331.1);
Tailwind
colors: {
  custom: {
    50: '#f6adec',
    500: '#ef87e4',
    950: '#000000',
  },
}
SCSS
$custom: #ef87e4;
$custom-light: #f6adec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87e4",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 306.346,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76589,
    "c": 0.16981,
    "h": 331.1
  },
  "luminance": 0.4128
}

Semantic roles & 50–950 ramp

primary
#EF87E4
secondary
#D8F3DB
accent
#D9220D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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