#EF52D8#EF52D8

#EF52D8 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.6% C 0.238 H 334.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#EF52D8
RGBrgb(239, 82, 216)
HSLhsl(309, 83%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 65.7%, 9.6%, 6.3%)
CIE-LABlab(61.09, 74.05, -37.99)
CIE-LCHlch(61.09, 83.23, 332.84°)
OKLaboklab(69.58% 0.2147 -0.1038)
OKLCHoklch(69.58% 0.238 334.2)
XYZxyz(51.0089, 29.3473, 67.9305)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF52D8 #52EF69
analogous
#B852EF #EF52D8 #EF5289
triadic
#EF52D8 #D8EF52 #52D8EF
tetradic
#EF52D8 #EFB852 #52EF69 #5289EF
square
#EF52D8 #EFB852 #52EF69 #5289EF
split-complementary
#EF52D8 #89EF52 #52EFB8
monochromatic
#B6119E #EA1ACB #EF52D8 #F48AE5 #F9C2F1

Accessibility & contrast

On white

3.06
#EF52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#EF52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF52D8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF52D8#FFFFFF#000000##000000
##EF52D81.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#FA5E8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ef52d8;
/* rgb */ color: rgb(239, 82, 216);
/* oklch */ color: oklch(69.6% 0.238 334.2);
Tailwind
colors: {
  custom: {
    50: '#f88ee4',
    500: '#ef52d8',
    950: '#000000',
  },
}
SCSS
$custom: #ef52d8;
$custom-light: #f88ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef52d8",
  "rgb": {
    "r": 239,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 308.79,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69579,
    "c": 0.23849,
    "h": 334.2
  },
  "luminance": 0.29343
}

Semantic roles & 50–950 ramp

primary
#EF52D8
secondary
#B2EBBA
accent
#DF2606
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #EF52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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