#EC54D6#EC54D6

#EC54D6 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.3% C 0.233 H 334.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#EC54D6
RGBrgb(236, 84, 214)
HSLhsl(309, 80%, 63%)
HSVhsv(309, 64%, 93%)
CMYKcmyk(0%, 64.4%, 9.3%, 7.5%)
CIE-LABlab(60.81, 72.28, -37.32)
CIE-LCHlch(60.81, 81.35, 332.69°)
OKLaboklab(69.26% 0.2093 -0.1019)
OKLCHoklch(69.26% 0.233 334)
XYZxyz(49.9003, 29.0326, 66.5810)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54D6 #54EC6A
analogous
#B654EC #EC54D6 #EC548A
triadic
#EC54D6 #D6EC54 #54D6EC
tetradic
#EC54D6 #ECB654 #54EC6A #548AEC
square
#EC54D6 #ECB654 #54EC6A #548AEC
split-complementary
#EC54D6 #8AEC54 #54ECB6
monochromatic
#B2149B #E61DC9 #EC54D6 #F28BE3 #F8C2F0

Accessibility & contrast

On white

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

On black

6.81
#EC54D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54D6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54D6#FFFFFF#000000##000000
##EC54D61.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184DA
Deuteranopia (green-blind)
#849BD2
Tritanopia (blue-blind)
#F7608E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec54d6;
/* rgb */ color: rgb(236, 84, 214);
/* oklch */ color: oklch(69.3% 0.233 334.0);
Tailwind
colors: {
  custom: {
    50: '#f68ee3',
    500: '#ec54d6',
    950: '#000000',
  },
}
SCSS
$custom: #ec54d6;
$custom-light: #f68ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54d6",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 308.684,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6926,
    "c": 0.23281,
    "h": 334
  },
  "luminance": 0.29029
}

Semantic roles & 50–950 ramp

primary
#EC54D6
secondary
#B2E9BA
accent
#DC2809
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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