#ED51DF#ED51DF

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

Color values

HEX#ED51DF
RGBrgb(237, 81, 223)
HSLhsl(305, 81%, 62%)
HSVhsv(305, 66%, 93%)
CMYKcmyk(0%, 65.8%, 5.9%, 7.1%)
CIE-LABlab(60.98, 75.00, -42.12)
CIE-LCHlch(60.98, 86.02, 330.68°)
OKLaboklab(69.55% 0.2144 -0.1157)
OKLCHoklch(69.55% 0.244 331.7)
XYZxyz(51.1867, 29.2210, 72.7420)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51DF #51ED5F
analogous
#AD51ED #ED51DF #ED5191
triadic
#ED51DF #DFED51 #51DFED
tetradic
#ED51DF #EDAD51 #51ED5F #5191ED
square
#ED51DF #EDAD51 #51ED5F #5191ED
split-complementary
#ED51DF #91ED51 #51EDAD
monochromatic
#B112A3 #E71AD5 #ED51DF #F388E9 #F8C0F3

Accessibility & contrast

On white

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

On black

6.84
#ED51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51DF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51DF#FFFFFF#000000##000000
##ED51DF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#7F9BDB
Tritanopia (blue-blind)
#F66191
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ed51df;
/* rgb */ color: rgb(237, 81, 223);
/* oklch */ color: oklch(69.5% 0.244 331.7);
Tailwind
colors: {
  custom: {
    50: '#f78de9',
    500: '#ed51df',
    950: '#000000',
  },
}
SCSS
$custom: #ed51df;
$custom-light: #f78de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51df",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 305.385,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.24363,
    "h": 331.7
  },
  "luminance": 0.29217
}

Semantic roles & 50–950 ramp

primary
#ED51DF
secondary
#B0E9B6
accent
#DE1B08
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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