#EF5AF4#EF5AF4

#EF5AF4 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.8% C 0.250 H 326.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EF5AF4
RGBrgb(239, 90, 244)
HSLhsl(298, 88%, 65%)
HSVhsv(298, 63%, 96%)
CMYKcmyk(2%, 63.1%, 0%, 4.3%)
CIE-LABlab(63.51, 75.42, -49.82)
CIE-LCHlch(63.51, 90.39, 326.55°)
OKLaboklab(71.77% 0.2081 -0.1379)
OKLCHoklch(71.77% 0.25 326.5)
XYZxyz(55.5809, 32.1982, 88.8578)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5AF4 #5FF45A
analogous
#A25AF4 #EF5AF4 #F45AAC
triadic
#EF5AF4 #F4EF5A #5AF4EF
tetradic
#EF5AF4 #F4A25A #5FF45A #5AACF4
square
#EF5AF4 #F4A25A #5FF45A #5AACF4
split-complementary
#EF5AF4 #ACF45A #5AF4A2
monochromatic
#C00DC6 #E921F0 #EF5AF4 #F593F8 #FACDFC

Accessibility & contrast

On white

2.82
#EF5AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EF5AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5AF4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5AF4#FFFFFF#000000##000000
##EF5AF41.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#F570A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ef5af4;
/* rgb */ color: rgb(239, 90, 244);
/* oklch */ color: oklch(71.8% 0.250 326.5);
Tailwind
colors: {
  custom: {
    50: '#f892f8',
    500: '#ef5af4',
    950: '#000000',
  },
}
SCSS
$custom: #ef5af4;
$custom-light: #f892f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5af4",
  "rgb": {
    "r": 239,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 298.052,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71766,
    "c": 0.24965,
    "h": 326.5
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#EF5AF4
secondary
#BDEFBB
accent
#E40109
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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