#EF54D8#EF54D8

#EF54D8 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.8% C 0.236 H 334.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#EF54D8
RGBrgb(239, 84, 216)
HSLhsl(309, 83%, 63%)
HSVhsv(309, 65%, 94%)
CMYKcmyk(0%, 64.9%, 9.6%, 6.3%)
CIE-LABlab(61.35, 73.31, -37.57)
CIE-LCHlch(61.35, 82.37, 332.87°)
OKLaboklab(69.77% 0.2125 -0.1026)
OKLCHoklch(69.77% 0.236 334.2)
XYZxyz(51.1620, 29.6534, 67.9815)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54D8 #54EF6B
analogous
#B854EF #EF54D8 #EF548A
triadic
#EF54D8 #D8EF54 #54D8EF
tetradic
#EF54D8 #EFB854 #54EF6B #548AEF
square
#EF54D8 #EFB854 #54EF6B #548AEF
split-complementary
#EF54D8 #8AEF54 #54EFB8
monochromatic
#B7119F #EA1CCB #EF54D8 #F48CE5 #F9C4F2

Accessibility & contrast

On white

3.03
#EF54D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#EF54D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54D8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54D8#FFFFFF#000000##000000
##EF54D81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DC
Deuteranopia (green-blind)
#869CD4
Tritanopia (blue-blind)
#FA608F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ef54d8;
/* rgb */ color: rgb(239, 84, 216);
/* oklch */ color: oklch(69.8% 0.236 334.2);
Tailwind
colors: {
  custom: {
    50: '#f88fe4',
    500: '#ef54d8',
    950: '#000000',
  },
}
SCSS
$custom: #ef54d8;
$custom-light: #f88fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54d8",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 308.903,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.236,
    "h": 334.2
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

primary
#EF54D8
secondary
#B4EBBC
accent
#DF2606
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #EF54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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