#EF56E9#EF56E9

#EF56E9 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.8% C 0.246 H 329.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#EF56E9
RGBrgb(239, 86, 233)
HSLhsl(302, 83%, 64%)
HSVhsv(302, 64%, 94%)
CMYKcmyk(0%, 64%, 2.5%, 6.3%)
CIE-LABlab(62.42, 75.17, -45.43)
CIE-LCHlch(62.42, 87.83, 328.85°)
OKLaboklab(70.8% 0.2118 -0.1252)
OKLCHoklch(70.8% 0.246 329.4)
XYZxyz(53.6319, 30.8933, 80.2132)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E9 #56EF5C
analogous
#A856EF #EF56E9 #EF569C
triadic
#EF56E9 #E9EF56 #56E9EF
tetradic
#EF56E9 #EFA856 #56EF5C #569CEF
square
#EF56E9 #EFA856 #56EF5C #569CEF
split-complementary
#EF56E9 #9CEF56 #56EFA8
monochromatic
#B912B3 #EA1EE2 #EF56E9 #F48EF0 #FAC6F8

Accessibility & contrast

On white

2.93
#EF56E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#EF56E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E9#FFFFFF#000000##000000
##EF56E91.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AED
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#F76898
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ef56e9;
/* rgb */ color: rgb(239, 86, 233);
/* oklch */ color: oklch(70.8% 0.246 329.4);
Tailwind
colors: {
  custom: {
    50: '#f890f0',
    500: '#ef56e9',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e9;
$custom-light: #f890f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e9",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 302.353,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.24607,
    "h": 329.4
  },
  "luminance": 0.30889
}

Semantic roles & 50–950 ramp

primary
#EF56E9
secondary
#B5EBB8
accent
#DF0F06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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