#EF5AF3#EF5AF3

#EF5AF3 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.7% C 0.249 H 326.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#EF5AF3
RGBrgb(239, 90, 243)
HSLhsl(298, 86%, 65%)
HSVhsv(298, 63%, 95%)
CMYKcmyk(1.6%, 63%, 0%, 4.7%)
CIE-LABlab(63.46, 75.25, -49.34)
CIE-LCHlch(63.46, 89.99, 326.75°)
OKLaboklab(71.71% 0.2081 -0.1366)
OKLCHoklch(71.71% 0.249 326.7)
XYZxyz(55.4295, 32.1377, 88.0603)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5AF3 #5EF35A
analogous
#A25AF3 #EF5AF3 #F35AAB
triadic
#EF5AF3 #F3EF5A #5AF3EF
tetradic
#EF5AF3 #F3A25A #5EF35A #5AABF3
square
#EF5AF3 #F3A25A #5EF35A #5AABF3
split-complementary
#EF5AF3 #ABF35A #5AF3A2
monochromatic
#C00EC4 #E921EF #EF5AF3 #F593F7 #FACCFB

Accessibility & contrast

On white

2.83
#EF5AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#EF5AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5AF3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5AF3#FFFFFF#000000##000000
##EF5AF31.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF8
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#F56F9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ef5af3;
/* rgb */ color: rgb(239, 90, 243);
/* oklch */ color: oklch(71.7% 0.249 326.7);
Tailwind
colors: {
  custom: {
    50: '#f892f7',
    500: '#ef5af3',
    950: '#000000',
  },
}
SCSS
$custom: #ef5af3;
$custom-light: #f892f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5af3",
  "rgb": {
    "r": 239,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 298.431,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.24886,
    "h": 326.7
  },
  "luminance": 0.32134
}

Semantic roles & 50–950 ramp

primary
#EF5AF3
secondary
#BCEEBB
accent
#E30308
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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