#EF56E1#EF56E1

#EF56E1 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.4% C 0.240 H 331.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#EF56E1
RGBrgb(239, 86, 225)
HSLhsl(305, 83%, 64%)
HSVhsv(305, 64%, 94%)
CMYKcmyk(0%, 64%, 5.9%, 6.3%)
CIE-LABlab(62.04, 73.92, -41.55)
CIE-LCHlch(62.04, 84.80, 330.66°)
OKLaboklab(70.4% 0.2112 -0.114)
OKLCHoklch(70.4% 0.24 331.6)
XYZxyz(52.5149, 30.4465, 74.3304)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E1 #56EF64
analogous
#B056EF #EF56E1 #EF5694
triadic
#EF56E1 #E1EF56 #56E1EF
tetradic
#EF56E1 #EFB056 #56EF64 #5694EF
square
#EF56E1 #EFB056 #56EF64 #5694EF
split-complementary
#EF56E1 #94EF56 #56EFB0
monochromatic
#B912AA #EA1ED7 #EF56E1 #F48EEB #FAC6F5

Accessibility & contrast

On white

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

On black

7.09
#EF56E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E1#FFFFFF#000000##000000
##EF56E11.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E5
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#F86594
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56e1;
/* rgb */ color: rgb(239, 86, 225);
/* oklch */ color: oklch(70.4% 0.240 331.6);
Tailwind
colors: {
  custom: {
    50: '#f890eb',
    500: '#ef56e1',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e1;
$custom-light: #f890eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e1",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 305.49,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70404,
    "c": 0.24004,
    "h": 331.6
  },
  "luminance": 0.30443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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