#EF56E2#EF56E2

#EF56E2 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.5% C 0.241 H 331.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#EF56E2
RGBrgb(239, 86, 226)
HSLhsl(305, 83%, 64%)
HSVhsv(305, 64%, 94%)
CMYKcmyk(0%, 64%, 5.4%, 6.3%)
CIE-LABlab(62.08, 74.07, -42.04)
CIE-LCHlch(62.08, 85.17, 330.42°)
OKLaboklab(70.45% 0.2113 -0.1154)
OKLCHoklch(70.45% 0.241 331.4)
XYZxyz(52.6518, 30.5012, 75.0510)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E2 #56EF63
analogous
#AF56EF #EF56E2 #EF5695
triadic
#EF56E2 #E2EF56 #56E2EF
tetradic
#EF56E2 #EFAF56 #56EF63 #5695EF
square
#EF56E2 #EFAF56 #56EF63 #5695EF
split-complementary
#EF56E2 #95EF56 #56EFAF
monochromatic
#B912AB #EA1ED8 #EF56E2 #F48EEC #FAC6F5

Accessibility & contrast

On white

2.96
#EF56E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#EF56E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E2#FFFFFF#000000##000000
##EF56E21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#829EDE
Tritanopia (blue-blind)
#F86595
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56e2;
/* rgb */ color: rgb(239, 86, 226);
/* oklch */ color: oklch(70.5% 0.241 331.4);
Tailwind
colors: {
  custom: {
    50: '#f890eb',
    500: '#ef56e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e2;
$custom-light: #f890eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e2",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 305.098,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70453,
    "c": 0.24079,
    "h": 331.4
  },
  "luminance": 0.30497
}

Semantic roles & 50–950 ramp

primary
#EF56E2
secondary
#B5EBBA
accent
#DF1906
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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