#EF56E5#EF56E5

#EF56E5 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.6% C 0.243 H 330.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#EF56E5
RGBrgb(239, 86, 229)
HSLhsl(304, 83%, 64%)
HSVhsv(304, 64%, 94%)
CMYKcmyk(0%, 64%, 4.2%, 6.3%)
CIE-LABlab(62.23, 74.54, -43.50)
CIE-LCHlch(62.23, 86.30, 329.73°)
OKLaboklab(70.6% 0.2116 -0.1196)
OKLCHoklch(70.6% 0.243 330.5)
XYZxyz(53.0670, 30.6673, 77.2379)
Luminance0.3066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E5 #56EF60
analogous
#AD56EF #EF56E5 #EF5698
triadic
#EF56E5 #E5EF56 #56E5EF
tetradic
#EF56E5 #EFAD56 #56EF60 #5698EF
square
#EF56E5 #EFAD56 #56EF60 #5698EF
split-complementary
#EF56E5 #98EF56 #56EFAD
monochromatic
#B912AE #EA1EDC #EF56E5 #F48EEE #FAC6F6

Accessibility & contrast

On white

2.94
#EF56E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#EF56E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E5#FFFFFF#000000##000000
##EF56E51.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#F86796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56e5;
/* rgb */ color: rgb(239, 86, 229);
/* oklch */ color: oklch(70.6% 0.243 330.5);
Tailwind
colors: {
  custom: {
    50: '#f890ed',
    500: '#ef56e5',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e5;
$custom-light: #f890ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e5",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 303.922,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.24304,
    "h": 330.5
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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