#EF56DF#EF56DF

#EF56DF is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.3% C 0.239 H 332.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#EF56DF
RGBrgb(239, 86, 223)
HSLhsl(306, 83%, 64%)
HSVhsv(306, 64%, 94%)
CMYKcmyk(0%, 64%, 6.7%, 6.3%)
CIE-LABlab(61.94, 73.61, -40.58)
CIE-LCHlch(61.94, 84.05, 331.13°)
OKLaboklab(70.31% 0.2111 -0.1112)
OKLCHoklch(70.31% 0.239 332.2)
XYZxyz(52.2437, 30.3380, 72.9019)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56DF #56EF66
analogous
#B356EF #EF56DF #EF5692
triadic
#EF56DF #DFEF56 #56DFEF
tetradic
#EF56DF #EFB356 #56EF66 #5692EF
square
#EF56DF #EFB356 #56EF66 #5692EF
split-complementary
#EF56DF #92EF56 #56EFB3
monochromatic
#B912A8 #EA1ED4 #EF56DF #F48EEA #FAC6F4

Accessibility & contrast

On white

2.97
#EF56DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#EF56DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56DF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56DF#FFFFFF#000000##000000
##EF56DF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#849DDB
Tritanopia (blue-blind)
#F96493
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56df;
/* rgb */ color: rgb(239, 86, 223);
/* oklch */ color: oklch(70.3% 0.239 332.2);
Tailwind
colors: {
  custom: {
    50: '#f890e9',
    500: '#ef56df',
    950: '#000000',
  },
}
SCSS
$custom: #ef56df;
$custom-light: #f890e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56df",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 306.275,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70306,
    "c": 0.23857,
    "h": 332.2
  },
  "luminance": 0.30334
}

Semantic roles & 50–950 ramp

primary
#EF56DF
secondary
#B5EBBB
accent
#DF1D06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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