#EF56E8#EF56E8

#EF56E8 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.8% C 0.245 H 329.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#EF56E8
RGBrgb(239, 86, 232)
HSLhsl(303, 83%, 64%)
HSVhsv(303, 64%, 94%)
CMYKcmyk(0%, 64%, 2.9%, 6.3%)
CIE-LABlab(62.37, 75.01, -44.95)
CIE-LCHlch(62.37, 87.44, 329.07°)
OKLaboklab(70.75% 0.2118 -0.1238)
OKLCHoklch(70.75% 0.245 329.7)
XYZxyz(53.4895, 30.8363, 79.4630)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E8 #56EF5D
analogous
#A956EF #EF56E8 #EF569B
triadic
#EF56E8 #E8EF56 #56E8EF
tetradic
#EF56E8 #EFA956 #56EF5D #569BEF
square
#EF56E8 #EFA956 #56EF5D #569BEF
split-complementary
#EF56E8 #9BEF56 #56EFA9
monochromatic
#B912B1 #EA1EE0 #EF56E8 #F48EF0 #FAC6F7

Accessibility & contrast

On white

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

On black

7.17
#EF56E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E8#FFFFFF#000000##000000
##EF56E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EC
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#F76898
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ef56e8;
/* rgb */ color: rgb(239, 86, 232);
/* oklch */ color: oklch(70.8% 0.245 329.7);
Tailwind
colors: {
  custom: {
    50: '#f890f0',
    500: '#ef56e8',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e8;
$custom-light: #f890f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e8",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 302.745,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.2453,
    "h": 329.7
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#EF56E8
secondary
#B5EBB8
accent
#DF1006
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EF56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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