#EF5AF2#EF5AF2

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

Color values

HEX#EF5AF2
RGBrgb(239, 90, 242)
HSLhsl(299, 85%, 65%)
HSVhsv(299, 63%, 95%)
CMYKcmyk(1.2%, 62.8%, 0%, 5.1%)
CIE-LABlab(63.41, 75.09, -48.87)
CIE-LCHlch(63.41, 89.59, 326.94°)
OKLaboklab(71.66% 0.208 -0.1352)
OKLCHoklch(71.66% 0.248 327)
XYZxyz(55.2789, 32.0774, 87.2672)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5AF2 #5DF25A
analogous
#A35AF2 #EF5AF2 #F25AA9
triadic
#EF5AF2 #F2EF5A #5AF2EF
tetradic
#EF5AF2 #F2A35A #5DF25A #5AA9F2
square
#EF5AF2 #F2A35A #5DF25A #5AA9F2
split-complementary
#EF5AF2 #A9F25A #5AF2A3
monochromatic
#BF0FC2 #E921EE #EF5AF2 #F593F6 #FACBFB

Accessibility & contrast

On white

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

On black

7.41
#EF5AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5AF2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5AF2#FFFFFF#000000##000000
##EF5AF21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#F56F9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ef5af2;
/* rgb */ color: rgb(239, 90, 242);
/* oklch */ color: oklch(71.7% 0.248 327.0);
Tailwind
colors: {
  custom: {
    50: '#f892f7',
    500: '#ef5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ef5af2;
$custom-light: #f892f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5af2",
  "rgb": {
    "r": 239,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 298.816,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71662,
    "c": 0.24807,
    "h": 327
  },
  "luminance": 0.32074
}

Semantic roles & 50–950 ramp

primary
#EF5AF2
secondary
#BBEEBA
accent
#E20408
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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