#EF54EB#EF54EB

#EF54EB is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.7% C 0.250 H 328.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#EF54EB
RGBrgb(239, 84, 235)
HSLhsl(302, 83%, 63%)
HSVhsv(302, 65%, 94%)
CMYKcmyk(0%, 64.9%, 1.7%, 6.3%)
CIE-LABlab(62.25, 76.23, -46.81)
CIE-LCHlch(62.25, 89.46, 328.45°)
OKLaboklab(70.71% 0.2141 -0.1292)
OKLCHoklch(70.71% 0.25 328.9)
XYZxyz(53.7618, 30.6933, 81.6739)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54EB #54EF58
analogous
#A554EF #EF54EB #EF549E
triadic
#EF54EB #EBEF54 #54EBEF
tetradic
#EF54EB #EFA554 #54EF58 #549EEF
square
#EF54EB #EFA554 #54EF58 #549EEF
split-complementary
#EF54EB #9EEF54 #54EFA5
monochromatic
#B711B3 #EA1CE4 #EF54EB #F48CF2 #F9C4F8

Accessibility & contrast

On white

2.94
#EF54EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#EF54EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF54EB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54EB#FFFFFF#000000##000000
##EF54EB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#F76899
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef54eb;
/* rgb */ color: rgb(239, 84, 235);
/* oklch */ color: oklch(70.7% 0.250 328.9);
Tailwind
colors: {
  custom: {
    50: '#f88ff2',
    500: '#ef54eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef54eb;
$custom-light: #f88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54eb",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 301.548,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.25004,
    "h": 328.9
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#EF54EB
secondary
#B4EBB5
accent
#DF0C06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #EF54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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