#ED51E1#ED51E1

#ED51E1 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.6% C 0.245 H 331.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#ED51E1
RGBrgb(237, 81, 225)
HSLhsl(305, 81%, 62%)
HSVhsv(305, 66%, 93%)
CMYKcmyk(0%, 65.8%, 5.1%, 7.1%)
CIE-LABlab(61.07, 75.31, -43.09)
CIE-LCHlch(61.07, 86.77, 330.22°)
OKLaboklab(69.65% 0.2146 -0.1185)
OKLCHoklch(69.65% 0.245 331.1)
XYZxyz(51.4580, 29.3295, 74.1705)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51E1 #51ED5D
analogous
#AB51ED #ED51E1 #ED5193
triadic
#ED51E1 #E1ED51 #51E1ED
tetradic
#ED51E1 #EDAB51 #51ED5D #5193ED
square
#ED51E1 #EDAB51 #51ED5D #5193ED
split-complementary
#ED51E1 #93ED51 #51EDAB
monochromatic
#B112A5 #E71AD7 #ED51E1 #F388EB #F8C0F4

Accessibility & contrast

On white

3.06
#ED51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#ED51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51E1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51E1#FFFFFF#000000##000000
##ED51E11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#7E9BDD
Tritanopia (blue-blind)
#F66293
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ed51e1;
/* rgb */ color: rgb(237, 81, 225);
/* oklch */ color: oklch(69.6% 0.245 331.1);
Tailwind
colors: {
  custom: {
    50: '#f78deb',
    500: '#ed51e1',
    950: '#000000',
  },
}
SCSS
$custom: #ed51e1;
$custom-light: #f78deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51e1",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 304.615,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.24511,
    "h": 331.1
  },
  "luminance": 0.29326
}

Semantic roles & 50–950 ramp

primary
#ED51E1
secondary
#B0E9B5
accent
#DE1808
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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