#EF54E1#EF54E1

#EF54E1 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.2% C 0.243 H 331.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#EF54E1
RGBrgb(239, 84, 225)
HSLhsl(305, 83%, 63%)
HSVhsv(305, 65%, 94%)
CMYKcmyk(0%, 64.9%, 5.9%, 6.3%)
CIE-LABlab(61.77, 74.67, -41.98)
CIE-LCHlch(61.77, 85.66, 330.66°)
OKLaboklab(70.21% 0.2134 -0.1152)
OKLCHoklch(70.21% 0.243 331.6)
XYZxyz(52.3575, 30.1316, 74.2779)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54E1 #54EF62
analogous
#AF54EF #EF54E1 #EF5493
triadic
#EF54E1 #E1EF54 #54E1EF
tetradic
#EF54E1 #EFAF54 #54EF62 #5493EF
square
#EF54E1 #EFAF54 #54EF62 #5493EF
split-complementary
#EF54E1 #93EF54 #54EFAF
monochromatic
#B711A8 #EA1CD7 #EF54E1 #F48CEB #F9C4F5

Accessibility & contrast

On white

2.99
#EF54E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#EF54E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF54E1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54E1#FFFFFF#000000##000000
##EF54E11.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E5
Deuteranopia (green-blind)
#829DDD
Tritanopia (blue-blind)
#F86394
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ef54e1;
/* rgb */ color: rgb(239, 84, 225);
/* oklch */ color: oklch(70.2% 0.243 331.6);
Tailwind
colors: {
  custom: {
    50: '#f88feb',
    500: '#ef54e1',
    950: '#000000',
  },
}
SCSS
$custom: #ef54e1;
$custom-light: #f88feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54e1",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 305.419,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.24253,
    "h": 331.6
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#EF54E1
secondary
#B4EBB9
accent
#DF1A06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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