#EF87DF#EF87DF

#EF87DF is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.4% C 0.166 H 333.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#EF87DF
RGBrgb(239, 135, 223)
HSLhsl(309, 76%, 73%)
HSVhsv(309, 44%, 94%)
CMYKcmyk(0%, 43.5%, 6.7%, 6.3%)
CIE-LABlab(70.18, 51.59, -27.79)
CIE-LCHlch(70.18, 58.60, 331.69°)
OKLaboklab(76.38% 0.1475 -0.0752)
OKLCHoklch(76.38% 0.166 333)
XYZxyz(57.5795, 41.0097, 74.6805)
Luminance0.4101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87DF #87EF97
analogous
#CB87EF #EF87DF #EF87AB
triadic
#EF87DF #DFEF87 #87DFEF
tetradic
#EF87DF #EFCB87 #87EF97 #87ABEF
square
#EF87DF #EFCB87 #87EF97 #87ABEF
split-complementary
#EF87DF #ABEF87 #87EFCB
monochromatic
#DE1EC0 #E851D1 #EF87DF #F6BDED #FBE4F8

Accessibility & contrast

On white

2.28
#EF87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#EF87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87DF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87DF#FFFFFF#000000##000000
##EF87DF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#A1B1DC
Tritanopia (blue-blind)
#F78DA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ef87df;
/* rgb */ color: rgb(239, 135, 223);
/* oklch */ color: oklch(76.4% 0.166 333.0);
Tailwind
colors: {
  custom: {
    50: '#f6ace9',
    500: '#ef87df',
    950: '#000000',
  },
}
SCSS
$custom: #ef87df;
$custom-light: #f6ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87df",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 309.231,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.16556,
    "h": 333
  },
  "luminance": 0.41006
}

Semantic roles & 50–950 ramp

primary
#EF87DF
secondary
#D8F3DC
accent
#D92C0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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