#ED51D7#ED51D7

#ED51D7 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 69.2% C 0.238 H 334.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#ED51D7
RGBrgb(237, 81, 215)
HSLhsl(308, 81%, 62%)
HSVhsv(308, 66%, 93%)
CMYKcmyk(0%, 65.8%, 9.3%, 7.1%)
CIE-LABlab(60.60, 73.79, -38.20)
CIE-LCHlch(60.60, 83.10, 332.63°)
OKLaboklab(69.16% 0.2137 -0.1044)
OKLCHoklch(69.16% 0.238 334)
XYZxyz(50.1336, 28.7998, 67.1953)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51D7 #51ED67
analogous
#B551ED #ED51D7 #ED5189
triadic
#ED51D7 #D7ED51 #51D7ED
tetradic
#ED51D7 #EDB551 #51ED67 #5189ED
square
#ED51D7 #EDB551 #51ED67 #5189ED
split-complementary
#ED51D7 #89ED51 #51EDB5
monochromatic
#B1129B #E71ACA #ED51D7 #F388E4 #F8C0F0

Accessibility & contrast

On white

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

On black

6.76
#ED51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51D7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51D7#FFFFFF#000000##000000
##ED51D71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed51d7;
/* rgb */ color: rgb(237, 81, 215);
/* oklch */ color: oklch(69.2% 0.238 334.0);
Tailwind
colors: {
  custom: {
    50: '#f78de3',
    500: '#ed51d7',
    950: '#000000',
  },
}
SCSS
$custom: #ed51d7;
$custom-light: #f78de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51d7",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 308.462,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69155,
    "c": 0.23785,
    "h": 334
  },
  "luminance": 0.28796
}

Semantic roles & 50–950 ramp

primary
#ED51D7
secondary
#B0E9B8
accent
#DE2608
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #ED51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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