#ED51D6#ED51D6

#ED51D6 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 69.1% C 0.237 H 334.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#ED51D6
RGBrgb(237, 81, 214)
HSLhsl(309, 81%, 62%)
HSVhsv(309, 66%, 93%)
CMYKcmyk(0%, 65.8%, 9.7%, 7.1%)
CIE-LABlab(60.56, 73.65, -37.71)
CIE-LCHlch(60.56, 82.74, 332.89°)
OKLaboklab(69.11% 0.2136 -0.103)
OKLCHoklch(69.11% 0.237 334.3)
XYZxyz(50.0055, 28.7485, 66.5206)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51D6 #51ED68
analogous
#B651ED #ED51D6 #ED5188
triadic
#ED51D6 #D6ED51 #51D6ED
tetradic
#ED51D6 #EDB651 #51ED68 #5188ED
square
#ED51D6 #EDB651 #51ED68 #5188ED
split-complementary
#ED51D6 #88ED51 #51EDB6
monochromatic
#B1129A #E71AC9 #ED51D6 #F388E3 #F8C0F0

Accessibility & contrast

On white

3.11
#ED51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#ED51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51D6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51D6#FFFFFF#000000##000000
##ED51D61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83DA
Deuteranopia (green-blind)
#839AD2
Tritanopia (blue-blind)
#F85D8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ed51d6;
/* rgb */ color: rgb(237, 81, 214);
/* oklch */ color: oklch(69.1% 0.237 334.3);
Tailwind
colors: {
  custom: {
    50: '#f78de3',
    500: '#ed51d6',
    950: '#000000',
  },
}
SCSS
$custom: #ed51d6;
$custom-light: #f78de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51d6",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 308.846,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69107,
    "c": 0.23714,
    "h": 334.3
  },
  "luminance": 0.28744
}

Semantic roles & 50–950 ramp

primary
#ED51D6
secondary
#B0E9B9
accent
#DE2708
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #ED51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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