#EF54FB#EF54FB

#EF54FB is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.6% C 0.262 H 324.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#EF54FB
RGBrgb(239, 84, 251)
HSLhsl(296, 95%, 66%)
HSVhsv(296, 67%, 98%)
CMYKcmyk(4.8%, 66.5%, 0%, 1.6%)
CIE-LABlab(63.06, 78.83, -54.40)
CIE-LCHlch(63.06, 95.78, 325.39°)
OKLaboklab(71.56% 0.2145 -0.1512)
OKLCHoklch(71.56% 0.262 324.8)
XYZxyz(56.1781, 31.6599, 94.4001)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54FB #60FB54
analogous
#9C54FB #EF54FB #FB54B3
triadic
#EF54FB #FBEF54 #54FBEF
tetradic
#EF54FB #FB9C54 #60FB54 #54B3FB
square
#EF54FB #FB9C54 #60FB54 #54B3FB
split-complementary
#EF54FB #B3FB54 #54FB9C
monochromatic
#C105D0 #E918FA #EF54FB #F590FC #FACCFE

Accessibility & contrast

On white

2.86
#EF54FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#EF54FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF54FB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54FB#FFFFFF#000000##000000
##EF54FB1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#F46EA1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ef54fb;
/* rgb */ color: rgb(239, 84, 251);
/* oklch */ color: oklch(71.6% 0.262 324.8);
Tailwind
colors: {
  custom: {
    50: '#f890fd',
    500: '#ef54fb',
    950: '#000000',
  },
}
SCSS
$custom: #ef54fb;
$custom-light: #f890fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54fb",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 251
  },
  "hsl": {
    "h": 295.689,
    "s": 95.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71561,
    "c": 0.26244,
    "h": 324.8
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

primary
#EF54FB
secondary
#BEF1BA
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #EF54FB

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

Preview Lab → · Contrast checker → · Palette generator →

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