#EF57F2#EF57F2

#EF57F2 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.4% C 0.252 H 327.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#EF57F2
RGBrgb(239, 87, 242)
HSLhsl(299, 86%, 65%)
HSVhsv(299, 64%, 95%)
CMYKcmyk(1.2%, 64%, 0%, 5.1%)
CIE-LABlab(63.00, 76.24, -49.52)
CIE-LCHlch(63.00, 90.91, 326.99°)
OKLaboklab(71.36% 0.2112 -0.137)
OKLCHoklch(71.36% 0.252 327)
XYZxyz(55.0309, 31.5815, 87.1845)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF57F2 #5AF257
analogous
#A257F2 #EF57F2 #F257A7
triadic
#EF57F2 #F2EF57 #57F2EF
tetradic
#EF57F2 #F2A257 #5AF257 #57A7F2
square
#EF57F2 #F2A257 #5AF257 #57A7F2
split-complementary
#EF57F2 #A7F257 #57F2A2
monochromatic
#BC0FC0 #EA1EEE #EF57F2 #F490F6 #FAC9FB

Accessibility & contrast

On white

2.87
#EF57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#EF57F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF57F2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF57F2#FFFFFF#000000##000000
##EF57F21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F66D9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ef57f2;
/* rgb */ color: rgb(239, 87, 242);
/* oklch */ color: oklch(71.4% 0.252 327.0);
Tailwind
colors: {
  custom: {
    50: '#f891f7',
    500: '#ef57f2',
    950: '#000000',
  },
}
SCSS
$custom: #ef57f2;
$custom-light: #f891f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef57f2",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 298.839,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71364,
    "c": 0.25179,
    "h": 327
  },
  "luminance": 0.31578
}

Semantic roles & 50–950 ramp

primary
#EF57F2
secondary
#B9EDB8
accent
#E20308
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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