#EF51D6#EF51D6

#EF51D6 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.4% C 0.238 H 334.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#EF51D6
RGBrgb(239, 81, 214)
HSLhsl(309, 83%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 66.1%, 10.5%, 6.3%)
CIE-LABlab(60.87, 74.13, -37.21)
CIE-LCHlch(60.87, 82.94, 333.35°)
OKLaboklab(69.39% 0.2156 -0.1015)
OKLCHoklch(69.39% 0.238 334.8)
XYZxyz(50.6771, 29.0948, 66.5521)
Luminance0.2909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51D6 #51EF6A
analogous
#B951EF #EF51D6 #EF5187
triadic
#EF51D6 #D6EF51 #51D6EF
tetradic
#EF51D6 #EFB951 #51EF6A #5187EF
square
#EF51D6 #EFB951 #51EF6A #5187EF
split-complementary
#EF51D6 #87EF51 #51EFB9
monochromatic
#B5119B #EA19C9 #EF51D6 #F489E3 #F9C1F0

Accessibility & contrast

On white

3.08
#EF51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#EF51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51D6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51D6#FFFFFF#000000##000000
##EF51D61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DA
Deuteranopia (green-blind)
#859BD2
Tritanopia (blue-blind)
#FA5C8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ef51d6;
/* rgb */ color: rgb(239, 81, 214);
/* oklch */ color: oklch(69.4% 0.238 334.8);
Tailwind
colors: {
  custom: {
    50: '#f88de3',
    500: '#ef51d6',
    950: '#000000',
  },
}
SCSS
$custom: #ef51d6;
$custom-light: #f88de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51d6",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 309.494,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69389,
    "c": 0.23829,
    "h": 334.8
  },
  "luminance": 0.29091
}

Semantic roles & 50–950 ramp

primary
#EF51D6
secondary
#B1EABA
accent
#E02806
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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