#EF54D6#EF54D6

#EF54D6 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.7% C 0.235 H 334.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#EF54D6
RGBrgb(239, 84, 214)
HSLhsl(310, 83%, 63%)
HSVhsv(310, 65%, 94%)
CMYKcmyk(0%, 64.9%, 10.5%, 6.3%)
CIE-LABlab(61.26, 73.01, -36.58)
CIE-LCHlch(61.26, 81.66, 333.39°)
OKLaboklab(69.68% 0.2123 -0.0997)
OKLCHoklch(69.68% 0.235 334.8)
XYZxyz(50.9050, 29.5506, 66.6281)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54D6 #54EF6D
analogous
#BA54EF #EF54D6 #EF5488
triadic
#EF54D6 #D6EF54 #54D6EF
tetradic
#EF54D6 #EFBA54 #54EF6D #5488EF
square
#EF54D6 #EFBA54 #54EF6D #5488EF
split-complementary
#EF54D6 #88EF54 #54EFBA
monochromatic
#B7119D #EA1CC9 #EF54D6 #F48CE3 #F9C4F1

Accessibility & contrast

On white

3.04
#EF54D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#EF54D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54D6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54D6#FFFFFF#000000##000000
##EF54D61.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385DA
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#FA5F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ef54d6;
/* rgb */ color: rgb(239, 84, 214);
/* oklch */ color: oklch(69.7% 0.235 334.8);
Tailwind
colors: {
  custom: {
    50: '#f88fe3',
    500: '#ef54d6',
    950: '#000000',
  },
}
SCSS
$custom: #ef54d6;
$custom-light: #f88fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54d6",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 309.677,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69679,
    "c": 0.23458,
    "h": 334.8
  },
  "luminance": 0.29546
}

Semantic roles & 50–950 ramp

primary
#EF54D6
secondary
#B4EBBD
accent
#DF2906
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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