#ED54E2#ED54E2

#ED54E2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.242 H 330.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#ED54E2
RGBrgb(237, 84, 226)
HSLhsl(304, 81%, 63%)
HSVhsv(304, 65%, 93%)
CMYKcmyk(0%, 64.6%, 4.6%, 7.1%)
CIE-LABlab(61.52, 74.35, -42.96)
CIE-LCHlch(61.52, 85.87, 329.98°)
OKLaboklab(69.98% 0.2115 -0.1181)
OKLCHoklch(69.98% 0.242 330.8)
XYZxyz(51.8227, 29.8400, 74.9670)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED54E2 #54ED5F
analogous
#AC54ED #ED54E2 #ED5495
triadic
#ED54E2 #E2ED54 #54E2ED
tetradic
#ED54E2 #EDAC54 #54ED5F #5495ED
square
#ED54E2 #EDAC54 #54ED5F #5495ED
split-complementary
#ED54E2 #95ED54 #54EDAC
monochromatic
#B413A8 #E71DD9 #ED54E2 #F38BEB #F9C3F5

Accessibility & contrast

On white

3.01
#ED54E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#ED54E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED54E2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED54E2#FFFFFF#000000##000000
##ED54E21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#F66494
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ed54e2;
/* rgb */ color: rgb(237, 84, 226);
/* oklch */ color: oklch(70.0% 0.242 330.8);
Tailwind
colors: {
  custom: {
    50: '#f68feb',
    500: '#ed54e2',
    950: '#000000',
  },
}
SCSS
$custom: #ed54e2;
$custom-light: #f68feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed54e2",
  "rgb": {
    "r": 237,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 304.314,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.24219,
    "h": 330.8
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

primary
#ED54E2
secondary
#B3EAB7
accent
#DD1808
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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