#EF54DC#EF54DC

#EF54DC is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 70.0% C 0.239 H 333.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#EF54DC
RGBrgb(239, 84, 220)
HSLhsl(307, 83%, 63%)
HSVhsv(307, 65%, 94%)
CMYKcmyk(0%, 64.9%, 7.9%, 6.3%)
CIE-LABlab(61.54, 73.91, -39.54)
CIE-LCHlch(61.54, 83.82, 331.86°)
OKLaboklab(69.96% 0.213 -0.1082)
OKLCHoklch(69.96% 0.239 333.1)
XYZxyz(51.6854, 29.8628, 70.7382)
Luminance0.2986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54DC #54EF67
analogous
#B454EF #EF54DC #EF548E
triadic
#EF54DC #DCEF54 #54DCEF
tetradic
#EF54DC #EFB454 #54EF67 #548EEF
square
#EF54DC #EFB454 #54EF67 #548EEF
split-complementary
#EF54DC #8EEF54 #54EFB4
monochromatic
#B711A3 #EA1CD1 #EF54DC #F48CE7 #F9C4F3

Accessibility & contrast

On white

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

On black

6.97
#EF54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54DC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54DC#FFFFFF#000000##000000
##EF54DC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#F96191
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ef54dc;
/* rgb */ color: rgb(239, 84, 220);
/* oklch */ color: oklch(70.0% 0.239 333.1);
Tailwind
colors: {
  custom: {
    50: '#f88fe7',
    500: '#ef54dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef54dc;
$custom-light: #f88fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54dc",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 307.355,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.23888,
    "h": 333.1
  },
  "luminance": 0.29859
}

Semantic roles & 50–950 ramp

primary
#EF54DC
secondary
#B4EBBB
accent
#DF2106
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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