#EF56D7#EF56D7

#EF56D7 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.9% C 0.233 H 334.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#EF56D7
RGBrgb(239, 86, 215)
HSLhsl(309, 83%, 64%)
HSVhsv(309, 64%, 94%)
CMYKcmyk(0%, 64%, 10%, 6.3%)
CIE-LABlab(61.58, 72.40, -36.65)
CIE-LCHlch(61.58, 81.15, 333.15°)
OKLaboklab(69.93% 0.2102 -0.1)
OKLCHoklch(69.93% 0.233 334.6)
XYZxyz(51.1905, 29.9167, 67.3552)
Luminance0.2991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56D7 #56EF6E
analogous
#BA56EF #EF56D7 #EF568A
triadic
#EF56D7 #D7EF56 #56D7EF
tetradic
#EF56D7 #EFBA56 #56EF6E #568AEF
square
#EF56D7 #EFBA56 #56EF6E #568AEF
split-complementary
#EF56D7 #8AEF56 #56EFBA
monochromatic
#B9129F #EA1ECA #EF56D7 #F48EE4 #FAC6F1

Accessibility & contrast

On white

3.01
#EF56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#EF56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF56D7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56D7#FFFFFF#000000##000000
##EF56D71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586DB
Deuteranopia (green-blind)
#879DD3
Tritanopia (blue-blind)
#FA618F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ef56d7;
/* rgb */ color: rgb(239, 86, 215);
/* oklch */ color: oklch(69.9% 0.233 334.6);
Tailwind
colors: {
  custom: {
    50: '#f890e3',
    500: '#ef56d7',
    950: '#000000',
  },
}
SCSS
$custom: #ef56d7;
$custom-light: #f890e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56d7",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 309.412,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.23275,
    "h": 334.6
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#EF56D7
secondary
#B5EBBE
accent
#DF2806
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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