#EF56D9#EF56D9

#EF56D9 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.0% C 0.234 H 334.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#EF56D9
RGBrgb(239, 86, 217)
HSLhsl(309, 83%, 64%)
HSVhsv(309, 64%, 94%)
CMYKcmyk(0%, 64%, 9.2%, 6.3%)
CIE-LABlab(61.67, 72.70, -37.64)
CIE-LCHlch(61.67, 81.86, 332.63°)
OKLaboklab(70.02% 0.2104 -0.1028)
OKLCHoklch(70.02% 0.234 334)
XYZxyz(51.4491, 30.0202, 68.7169)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56D9 #56EF6C
analogous
#B856EF #EF56D9 #EF568C
triadic
#EF56D9 #D9EF56 #56D9EF
tetradic
#EF56D9 #EFB856 #56EF6C #568CEF
square
#EF56D9 #EFB856 #56EF6C #568CEF
split-complementary
#EF56D9 #8CEF56 #56EFB8
monochromatic
#B912A1 #EA1ECC #EF56D9 #F48EE6 #FAC6F2

Accessibility & contrast

On white

3.00
#EF56D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#EF56D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56D9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56D9#FFFFFF#000000##000000
##EF56D91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DD
Deuteranopia (green-blind)
#869DD5
Tritanopia (blue-blind)
#FA6290
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ef56d9;
/* rgb */ color: rgb(239, 86, 217);
/* oklch */ color: oklch(70.0% 0.234 334.0);
Tailwind
colors: {
  custom: {
    50: '#f890e5',
    500: '#ef56d9',
    950: '#000000',
  },
}
SCSS
$custom: #ef56d9;
$custom-light: #f890e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56d9",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 308.627,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.23419,
    "h": 334
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#EF56D9
secondary
#B5EBBD
accent
#DF2606
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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