#EF58DC#EF58DC

#EF58DC is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.4% C 0.234 H 333.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#EF58DC
RGBrgb(239, 88, 220)
HSLhsl(308, 83%, 64%)
HSVhsv(308, 63%, 94%)
CMYKcmyk(0%, 63.2%, 7.9%, 6.3%)
CIE-LABlab(62.08, 72.38, -38.68)
CIE-LCHlch(62.08, 82.07, 331.88°)
OKLaboklab(70.36% 0.2085 -0.1058)
OKLCHoklch(70.36% 0.234 333.1)
XYZxyz(52.0048, 30.5015, 70.8446)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF58DC #58EF6B
analogous
#B758EF #EF58DC #EF5891
triadic
#EF58DC #DCEF58 #58DCEF
tetradic
#EF58DC #EFB758 #58EF6B #5891EF
square
#EF58DC #EFB758 #58EF6B #5891EF
split-complementary
#EF58DC #91EF58 #58EFB7
monochromatic
#BB12A5 #EA20D0 #EF58DC #F490E8 #FAC8F3

Accessibility & contrast

On white

2.96
#EF58DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#EF58DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF58DC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF58DC#FFFFFF#000000##000000
##EF58DC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#F96592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef58dc;
/* rgb */ color: rgb(239, 88, 220);
/* oklch */ color: oklch(70.4% 0.234 333.1);
Tailwind
colors: {
  custom: {
    50: '#f891e7',
    500: '#ef58dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef58dc;
$custom-light: #f891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef58dc",
  "rgb": {
    "r": 239,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 307.55,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.23381,
    "h": 333.1
  },
  "luminance": 0.30497
}

Semantic roles & 50–950 ramp

primary
#EF58DC
secondary
#B7ECBE
accent
#DF2207
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EF58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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