#EF7AFC#EF7AFC

#EF7AFC is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.212 H 323.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#EF7AFC
RGBrgb(239, 122, 252)
HSLhsl(294, 96%, 73%)
HSVhsv(294, 52%, 99%)
CMYKcmyk(5.2%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.97, 62.97, -45.61)
CIE-LCHlch(68.97, 77.75, 324.08°)
OKLaboklab(75.88% 0.1703 -0.126)
OKLCHoklch(75.88% 0.212 323.5)
XYZxyz(60.1251, 39.3010, 96.4954)
Luminance0.3930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AFC #87FC7A
analogous
#AE7AFC #EF7AFC #FC7AC8
triadic
#EF7AFC #FCEF7A #7AFCEF
tetradic
#EF7AFC #FCAE7A #87FC7A #7AC8FC
square
#EF7AFC #FCAE7A #87FC7A #7AC8FC
split-complementary
#EF7AFC #C8FC7A #7AFCAE
monochromatic
#DE06F6 #E83EFB #EF7AFC #F6B6FD #FBE1FE

Accessibility & contrast

On white

2.37
#EF7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#EF7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AFC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AFC#FFFFFF#000000##000000
##EF7AFC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#F38BB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7afc;
/* rgb */ color: rgb(239, 122, 252);
/* oklch */ color: oklch(75.9% 0.212 323.5);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#ef7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ef7afc;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7afc",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 294,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75878,
    "c": 0.21186,
    "h": 323.5
  },
  "luminance": 0.39298
}

Semantic roles & 50–950 ramp

primary
#EF7AFC
secondary
#D8F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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