#EC5CD8#EC5CD8

#EC5CD8 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.2% C 0.224 H 333.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD8
RGBrgb(236, 92, 216)
HSLhsl(308, 79%, 64%)
HSVhsv(308, 61%, 93%)
CMYKcmyk(0%, 61%, 8.5%, 7.5%)
CIE-LABlab(62.04, 69.43, -36.53)
CIE-LCHlch(62.04, 78.45, 332.25°)
OKLaboklab(70.19% 0.2003 -0.0997)
OKLCHoklch(70.19% 0.224 333.5)
XYZxyz(50.8141, 30.4489, 68.1533)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD8 #5CEC70
analogous
#B85CEC #EC5CD8 #EC5C90
triadic
#EC5CD8 #D8EC5C #5CD8EC
tetradic
#EC5CD8 #ECB85C #5CEC70 #5C90EC
square
#EC5CD8 #ECB85C #5CEC70 #5C90EC
split-complementary
#EC5CD8 #90EC5C #5CECB8
monochromatic
#B815A2 #E625CB #EC5CD8 #F293E5 #F9CAF2

Accessibility & contrast

On white

2.96
#EC5CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#EC5CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD8#FFFFFF#000000##000000
##EC5CD81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DC
Deuteranopia (green-blind)
#879DD4
Tritanopia (blue-blind)
#F66792
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5cd8;
/* rgb */ color: rgb(236, 92, 216);
/* oklch */ color: oklch(70.2% 0.224 333.5);
Tailwind
colors: {
  custom: {
    50: '#f593e4',
    500: '#ec5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd8;
$custom-light: #f593e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd8",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 308.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.22378,
    "h": 333.5
  },
  "luminance": 0.30445
}

Semantic roles & 50–950 ramp

primary
#EC5CD8
secondary
#B9EBC0
accent
#DB270A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #EC5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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