#EF5DF2#EF5DF2

#EF5DF2 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 72.0% C 0.244 H 326.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#EF5DF2
RGBrgb(239, 93, 242)
HSLhsl(299, 85%, 66%)
HSVhsv(299, 62%, 95%)
CMYKcmyk(1.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(63.83, 73.91, -48.20)
CIE-LCHlch(63.83, 88.24, 326.89°)
OKLaboklab(71.97% 0.2047 -0.1333)
OKLCHoklch(71.97% 0.244 326.9)
XYZxyz(55.5370, 32.5938, 87.3532)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5DF2 #60F25D
analogous
#A45DF2 #EF5DF2 #F25DAA
triadic
#EF5DF2 #F2EF5D #5DF2EF
tetradic
#EF5DF2 #F2A45D #60F25D #5DAAF2
square
#EF5DF2 #F2A45D #60F25D #5DAAF2
split-complementary
#EF5DF2 #AAF25D #5DF2A4
monochromatic
#C110C5 #E924ED #EF5DF2 #F596F7 #FACEFB

Accessibility & contrast

On white

2.79
#EF5DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#EF5DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5DF2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5DF2#FFFFFF#000000##000000
##EF5DF21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#F571A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ef5df2;
/* rgb */ color: rgb(239, 93, 242);
/* oklch */ color: oklch(72.0% 0.244 326.9);
Tailwind
colors: {
  custom: {
    50: '#f894f7',
    500: '#ef5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ef5df2;
$custom-light: #f894f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5df2",
  "rgb": {
    "r": 239,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 298.792,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71969,
    "c": 0.24425,
    "h": 326.9
  },
  "luminance": 0.3259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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