#EF57EB#EF57EB

#EF57EB is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.0% C 0.246 H 328.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#EF57EB
RGBrgb(239, 87, 235)
HSLhsl(302, 83%, 64%)
HSVhsv(302, 64%, 94%)
CMYKcmyk(0%, 63.6%, 1.7%, 6.3%)
CIE-LABlab(62.65, 75.11, -46.18)
CIE-LCHlch(62.65, 88.17, 328.42°)
OKLaboklab(71% 0.2109 -0.1274)
OKLCHoklch(71% 0.246 328.9)
XYZxyz(53.9996, 31.1690, 81.7532)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF57EB #57EF5B
analogous
#A757EF #EF57EB #EF579F
triadic
#EF57EB #EBEF57 #57EBEF
tetradic
#EF57EB #EFA757 #57EF5B #579FEF
square
#EF57EB #EFA757 #57EF5B #579FEF
split-complementary
#EF57EB #9FEF57 #57EFA7
monochromatic
#BA12B5 #EA1FE4 #EF57EB #F48FF2 #FAC7F8

Accessibility & contrast

On white

2.90
#EF57EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#EF57EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF57EB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF57EB#FFFFFF#000000##000000
##EF57EB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BEF
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#F76A9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ef57eb;
/* rgb */ color: rgb(239, 87, 235);
/* oklch */ color: oklch(71.0% 0.246 328.9);
Tailwind
colors: {
  custom: {
    50: '#f891f2',
    500: '#ef57eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef57eb;
$custom-light: #f891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef57eb",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 301.579,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.71003,
    "c": 0.24636,
    "h": 328.9
  },
  "luminance": 0.31165
}

Semantic roles & 50–950 ramp

primary
#EF57EB
secondary
#B6ECB8
accent
#DF0C06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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