#EF7AF9#EF7AF9

#EF7AF9 is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.7% C 0.209 H 324.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EF7AF9
RGBrgb(239, 122, 249)
HSLhsl(295, 91%, 73%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4%, 51%, 0%, 2.4%)
CIE-LABlab(68.83, 62.43, -44.18)
CIE-LCHlch(68.83, 76.49, 324.71°)
OKLaboklab(75.73% 0.17 -0.1219)
OKLCHoklch(75.73% 0.209 324.4)
XYZxyz(59.6535, 39.1123, 94.0114)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AF9 #84F97A
analogous
#B07AF9 #EF7AF9 #F97AC3
triadic
#EF7AF9 #F9EF7A #7AF9EF
tetradic
#EF7AF9 #F9B07A #84F97A #7AC3F9
square
#EF7AF9 #F9B07A #84F97A #7AC3F9
split-complementary
#EF7AF9 #C3F97A #7AF9B0
monochromatic
#DC0BEE #E83FF6 #EF7AF9 #F6B5FC #FBE2FE

Accessibility & contrast

On white

2.38
#EF7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EF7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AF9
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AF9#FFFFFF#000000##000000
##EF7AF91.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#F38AAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7af9;
/* rgb */ color: rgb(239, 122, 249);
/* oklch */ color: oklch(75.7% 0.209 324.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5fb',
    500: '#ef7af9',
    950: '#000000',
  },
}
SCSS
$custom: #ef7af9;
$custom-light: #f7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7af9",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 295.276,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75733,
    "c": 0.20915,
    "h": 324.4
  },
  "luminance": 0.39109
}

Semantic roles & 50–950 ramp

primary
#EF7AF9
secondary
#D8F6D5
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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