#EC54E1#EC54E1

#EC54E1 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.8% C 0.241 H 330.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#EC54E1
RGBrgb(236, 84, 225)
HSLhsl(304, 80%, 63%)
HSVhsv(304, 64%, 93%)
CMYKcmyk(0%, 64.4%, 4.7%, 7.5%)
CIE-LABlab(61.32, 73.96, -42.71)
CIE-LCHlch(61.32, 85.41, 329.99°)
OKLaboklab(69.8% 0.2104 -0.1174)
OKLCHoklch(69.8% 0.241 330.8)
XYZxyz(51.3528, 29.6136, 74.2308)
Luminance0.2961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54E1 #54EC5F
analogous
#AB54EC #EC54E1 #EC5495
triadic
#EC54E1 #E1EC54 #54E1EC
tetradic
#EC54E1 #ECAB54 #54EC5F #5495EC
square
#EC54E1 #ECAB54 #54EC5F #5495EC
split-complementary
#EC54E1 #95EC54 #54ECAB
monochromatic
#B214A6 #E61DD7 #EC54E1 #F28BEB #F8C2F4

Accessibility & contrast

On white

3.03
#EC54E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#EC54E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54E1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54E1#FFFFFF#000000##000000
##EC54E11.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E5
Deuteranopia (green-blind)
#7F9CDD
Tritanopia (blue-blind)
#F56494
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec54e1;
/* rgb */ color: rgb(236, 84, 225);
/* oklch */ color: oklch(69.8% 0.241 330.8);
Tailwind
colors: {
  custom: {
    50: '#f68feb',
    500: '#ec54e1',
    950: '#000000',
  },
}
SCSS
$custom: #ec54e1;
$custom-light: #f68feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54e1",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 304.342,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.2409,
    "h": 330.8
  },
  "luminance": 0.2961
}

Semantic roles & 50–950 ramp

primary
#EC54E1
secondary
#B2E9B6
accent
#DC1809
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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