#EF51D9#EF51D9

#EF51D9 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.5% C 0.240 H 333.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#EF51D9
RGBrgb(239, 81, 217)
HSLhsl(308, 83%, 63%)
HSVhsv(308, 66%, 94%)
CMYKcmyk(0%, 66.1%, 9.2%, 6.3%)
CIE-LABlab(61.00, 74.57, -38.69)
CIE-LCHlch(61.00, 84.01, 332.58°)
OKLaboklab(69.53% 0.2159 -0.1057)
OKLCHoklch(69.53% 0.24 333.9)
XYZxyz(51.0638, 29.2495, 68.5885)
Luminance0.2924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51D9 #51EF67
analogous
#B651EF #EF51D9 #EF518A
triadic
#EF51D9 #D9EF51 #51D9EF
tetradic
#EF51D9 #EFB651 #51EF67 #518AEF
square
#EF51D9 #EFB651 #51EF67 #518AEF
split-complementary
#EF51D9 #8AEF51 #51EFB6
monochromatic
#B5119E #EA19CD #EF51D9 #F489E5 #F9C1F1

Accessibility & contrast

On white

3.07
#EF51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#EF51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51D9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51D9#FFFFFF#000000##000000
##EF51D91.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#849BD5
Tritanopia (blue-blind)
#FA5E8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ef51d9;
/* rgb */ color: rgb(239, 81, 217);
/* oklch */ color: oklch(69.5% 0.240 333.9);
Tailwind
colors: {
  custom: {
    50: '#f88de5',
    500: '#ef51d9',
    950: '#000000',
  },
}
SCSS
$custom: #ef51d9;
$custom-light: #f88de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51d9",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 308.354,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69532,
    "c": 0.24042,
    "h": 333.9
  },
  "luminance": 0.29245
}

Semantic roles & 50–950 ramp

primary
#EF51D9
secondary
#B1EAB9
accent
#E02406
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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