#EF56DB#EF56DB

#EF56DB is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.1% C 0.236 H 333.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#EF56DB
RGBrgb(239, 86, 219)
HSLhsl(308, 83%, 64%)
HSVhsv(308, 64%, 94%)
CMYKcmyk(0%, 64%, 8.4%, 6.3%)
CIE-LABlab(61.76, 73.00, -38.62)
CIE-LCHlch(61.76, 82.59, 332.12°)
OKLaboklab(70.11% 0.2107 -0.1056)
OKLCHoklch(70.11% 0.236 333.4)
XYZxyz(51.7108, 30.1248, 70.0952)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56DB #56EF6A
analogous
#B656EF #EF56DB #EF568E
triadic
#EF56DB #DBEF56 #56DBEF
tetradic
#EF56DB #EFB656 #56EF6A #568EEF
square
#EF56DB #EFB656 #56EF6A #568EEF
split-complementary
#EF56DB #8EEF56 #56EFB6
monochromatic
#B912A3 #EA1ECF #EF56DB #F48EE7 #FAC6F3

Accessibility & contrast

On white

2.99
#EF56DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#EF56DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56DB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56DB#FFFFFF#000000##000000
##EF56DB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#859DD7
Tritanopia (blue-blind)
#F96391
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ef56db;
/* rgb */ color: rgb(239, 86, 219);
/* oklch */ color: oklch(70.1% 0.236 333.4);
Tailwind
colors: {
  custom: {
    50: '#f890e6',
    500: '#ef56db',
    950: '#000000',
  },
}
SCSS
$custom: #ef56db;
$custom-light: #f890e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56db",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 307.843,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.23564,
    "h": 333.4
  },
  "luminance": 0.30121
}

Semantic roles & 50–950 ramp

primary
#EF56DB
secondary
#B5EBBC
accent
#DF2306
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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