#EF56E3#EF56E3

#EF56E3 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.5% C 0.242 H 331.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#EF56E3
RGBrgb(239, 86, 227)
HSLhsl(305, 83%, 64%)
HSVhsv(305, 64%, 94%)
CMYKcmyk(0%, 64%, 5%, 6.3%)
CIE-LABlab(62.13, 74.22, -42.53)
CIE-LCHlch(62.13, 85.55, 330.19°)
OKLaboklab(70.5% 0.2114 -0.1168)
OKLCHoklch(70.5% 0.242 331.1)
XYZxyz(52.7894, 30.5563, 75.7757)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56E3 #56EF62
analogous
#AE56EF #EF56E3 #EF5696
triadic
#EF56E3 #E3EF56 #56E3EF
tetradic
#EF56E3 #EFAE56 #56EF62 #5696EF
square
#EF56E3 #EFAE56 #56EF62 #5696EF
split-complementary
#EF56E3 #96EF56 #56EFAE
monochromatic
#B912AC #EA1EDA #EF56E3 #F48EEC #FAC6F6

Accessibility & contrast

On white

2.95
#EF56E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#EF56E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56E3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56E3#FFFFFF#000000##000000
##EF56E31.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E7
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#F86695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef56e3;
/* rgb */ color: rgb(239, 86, 227);
/* oklch */ color: oklch(70.5% 0.242 331.1);
Tailwind
colors: {
  custom: {
    50: '#f890ec',
    500: '#ef56e3',
    950: '#000000',
  },
}
SCSS
$custom: #ef56e3;
$custom-light: #f890ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56e3",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 304.706,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.24154,
    "h": 331.1
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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