#EC54DD#EC54DD

#EC54DD is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.6% C 0.238 H 332.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#EC54DD
RGBrgb(236, 84, 221)
HSLhsl(306, 80%, 63%)
HSVhsv(306, 64%, 93%)
CMYKcmyk(0%, 64.4%, 6.4%, 7.5%)
CIE-LABlab(61.13, 73.34, -40.76)
CIE-LCHlch(61.13, 83.91, 330.93°)
OKLaboklab(69.6% 0.21 -0.1118)
OKLCHoklch(69.6% 0.238 332)
XYZxyz(50.8135, 29.3979, 71.3907)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54DD #54EC63
analogous
#AF54EC #EC54DD #EC5491
triadic
#EC54DD #DDEC54 #54DDEC
tetradic
#EC54DD #ECAF54 #54EC63 #5491EC
square
#EC54DD #ECAF54 #54EC63 #5491EC
split-complementary
#EC54DD #91EC54 #54ECAF
monochromatic
#B214A2 #E61DD2 #EC54DD #F28BE8 #F8C2F3

Accessibility & contrast

On white

3.05
#EC54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#EC54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54DD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54DD#FFFFFF#000000##000000
##EC54DD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E1
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#F56391
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec54dd;
/* rgb */ color: rgb(236, 84, 221);
/* oklch */ color: oklch(69.6% 0.238 332.0);
Tailwind
colors: {
  custom: {
    50: '#f68ee8',
    500: '#ec54dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec54dd;
$custom-light: #f68ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54dd",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 305.921,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.23792,
    "h": 332
  },
  "luminance": 0.29394
}

Semantic roles & 50–950 ramp

primary
#EC54DD
secondary
#B2E9B8
accent
#DC1E09
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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