#EF57DB#EF57DB

#EF57DB is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.2% C 0.234 H 333.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#EF57DB
RGBrgb(239, 87, 219)
HSLhsl(308, 83%, 64%)
HSVhsv(308, 64%, 94%)
CMYKcmyk(0%, 63.6%, 8.4%, 6.3%)
CIE-LABlab(61.90, 72.62, -38.40)
CIE-LCHlch(61.90, 82.15, 332.13°)
OKLaboklab(70.21% 0.2095 -0.105)
OKLCHoklch(70.21% 0.234 333.4)
XYZxyz(51.7912, 30.2857, 70.1220)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF57DB #57EF6B
analogous
#B757EF #EF57DB #EF578F
triadic
#EF57DB #DBEF57 #57DBEF
tetradic
#EF57DB #EFB757 #57EF6B #578FEF
square
#EF57DB #EFB757 #57EF6B #578FEF
split-complementary
#EF57DB #8FEF57 #57EFB7
monochromatic
#BA12A4 #EA1FCF #EF57DB #F48FE7 #FAC7F3

Accessibility & contrast

On white

2.98
#EF57DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#EF57DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF57DB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF57DB#FFFFFF#000000##000000
##EF57DB1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#869DD7
Tritanopia (blue-blind)
#F96391
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef57db;
/* rgb */ color: rgb(239, 87, 219);
/* oklch */ color: oklch(70.2% 0.234 333.4);
Tailwind
colors: {
  custom: {
    50: '#f890e6',
    500: '#ef57db',
    950: '#000000',
  },
}
SCSS
$custom: #ef57db;
$custom-light: #f890e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef57db",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 307.895,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.23436,
    "h": 333.4
  },
  "luminance": 0.30282
}

Semantic roles & 50–950 ramp

primary
#EF57DB
secondary
#B6ECBD
accent
#DF2306
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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