#EF54D9#EF54D9

#EF54D9 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.8% C 0.237 H 333.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#EF54D9
RGBrgb(239, 84, 217)
HSLhsl(309, 83%, 63%)
HSVhsv(309, 65%, 94%)
CMYKcmyk(0%, 64.9%, 9.2%, 6.3%)
CIE-LABlab(61.40, 73.46, -38.06)
CIE-LCHlch(61.40, 82.73, 332.61°)
OKLaboklab(69.82% 0.2127 -0.104)
OKLCHoklch(69.82% 0.237 333.9)
XYZxyz(51.2916, 29.7053, 68.6644)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54D9 #54EF6A
analogous
#B754EF #EF54D9 #EF548B
triadic
#EF54D9 #D9EF54 #54D9EF
tetradic
#EF54D9 #EFB754 #54EF6A #548BEF
square
#EF54D9 #EFB754 #54EF6A #548BEF
split-complementary
#EF54D9 #8BEF54 #54EFB7
monochromatic
#B711A0 #EA1CCD #EF54D9 #F48CE5 #F9C4F2

Accessibility & contrast

On white

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

On black

6.94
#EF54D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54D9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54D9#FFFFFF#000000##000000
##EF54D91.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DD
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#FA608F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ef54d9;
/* rgb */ color: rgb(239, 84, 217);
/* oklch */ color: oklch(69.8% 0.237 333.9);
Tailwind
colors: {
  custom: {
    50: '#f88fe5',
    500: '#ef54d9',
    950: '#000000',
  },
}
SCSS
$custom: #ef54d9;
$custom-light: #f88fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54d9",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 308.516,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.23671,
    "h": 333.9
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#EF54D9
secondary
#B4EBBC
accent
#DF2506
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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