#EF56E4#EF56E4

#EF56E4 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.6% C 0.242 H 330.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#EF56E4
RGBrgb(239, 86, 228)
HSLhsl(304, 83%, 64%)
HSVhsv(304, 64%, 94%)
CMYKcmyk(0%, 64%, 4.6%, 6.3%)
CIE-LABlab(62.18, 74.38, -43.01)
CIE-LCHlch(62.18, 85.92, 329.96°)
OKLaboklab(70.55% 0.2115 -0.1182)
OKLCHoklch(70.55% 0.242 330.8)
XYZxyz(52.9278, 30.6116, 76.5047)
Luminance0.3061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E4 #56EF61
analogous
#AD56EF #EF56E4 #EF5697
triadic
#EF56E4 #E4EF56 #56E4EF
tetradic
#EF56E4 #EFAD56 #56EF61 #5697EF
square
#EF56E4 #EFAD56 #56EF61 #5697EF
split-complementary
#EF56E4 #97EF56 #56EFAD
monochromatic
#B912AD #EA1EDB #EF56E4 #F48EED #FAC6F6

Accessibility & contrast

On white

2.95
#EF56E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#EF56E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E4#FFFFFF#000000##000000
##EF56E41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#819EE0
Tritanopia (blue-blind)
#F86696
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56e4;
/* rgb */ color: rgb(239, 86, 228);
/* oklch */ color: oklch(70.6% 0.242 330.8);
Tailwind
colors: {
  custom: {
    50: '#f890ed',
    500: '#ef56e4',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e4;
$custom-light: #f890ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e4",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 304.314,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70552,
    "c": 0.24229,
    "h": 330.8
  },
  "luminance": 0.30608
}

Semantic roles & 50–950 ramp

primary
#EF56E4
secondary
#B5EBB9
accent
#DF1606
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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