#EC54D5#EC54D5

#EC54D5 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.2% C 0.232 H 334.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#EC54D5
RGBrgb(236, 84, 213)
HSLhsl(309, 80%, 63%)
HSVhsv(309, 64%, 93%)
CMYKcmyk(0%, 64.4%, 9.7%, 7.5%)
CIE-LABlab(60.77, 72.13, -36.83)
CIE-LCHlch(60.77, 80.99, 332.95°)
OKLaboklab(69.21% 0.2092 -0.1005)
OKLCHoklch(69.21% 0.232 334.3)
XYZxyz(49.7730, 28.9816, 65.9105)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54D5 #54EC6B
analogous
#B754EC #EC54D5 #EC5489
triadic
#EC54D5 #D5EC54 #54D5EC
tetradic
#EC54D5 #ECB754 #54EC6B #5489EC
square
#EC54D5 #ECB754 #54EC6B #5489EC
split-complementary
#EC54D5 #89EC54 #54ECB7
monochromatic
#B2149A #E61DC7 #EC54D5 #F28BE3 #F8C2F0

Accessibility & contrast

On white

3.09
#EC54D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#EC54D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54D5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54D5#FFFFFF#000000##000000
##EC54D51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D9
Deuteranopia (green-blind)
#859BD1
Tritanopia (blue-blind)
#F75F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec54d5;
/* rgb */ color: rgb(236, 84, 213);
/* oklch */ color: oklch(69.2% 0.232 334.3);
Tailwind
colors: {
  custom: {
    50: '#f68ee2',
    500: '#ec54d5',
    950: '#000000',
  },
}
SCSS
$custom: #ec54d5;
$custom-light: #f68ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54d5",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 309.079,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69213,
    "c": 0.2321,
    "h": 334.3
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

primary
#EC54D5
secondary
#B2E9BB
accent
#DC2909
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC54D5

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

Preview Lab → · Contrast checker → · Palette generator →

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