#EC5CD6#EC5CD6

#EC5CD6 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.222 H 334.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD6
RGBrgb(236, 92, 214)
HSLhsl(309, 79%, 64%)
HSVhsv(309, 61%, 93%)
CMYKcmyk(0%, 61%, 9.3%, 7.5%)
CIE-LABlab(61.95, 69.12, -35.54)
CIE-LCHlch(61.95, 77.72, 332.79°)
OKLaboklab(70.09% 0.2001 -0.0969)
OKLCHoklch(70.09% 0.222 334.2)
XYZxyz(50.5571, 30.3461, 66.7999)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD6 #5CEC72
analogous
#BA5CEC #EC5CD6 #EC5C8E
triadic
#EC5CD6 #D6EC5C #5CD6EC
tetradic
#EC5CD6 #ECBA5C #5CEC72 #5C8EEC
square
#EC5CD6 #ECBA5C #5CEC72 #5C8EEC
split-complementary
#EC5CD6 #8EEC5C #5CECBA
monochromatic
#B8159F #E625C8 #EC5CD6 #F293E4 #F9CAF2

Accessibility & contrast

On white

2.97
#EC5CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#EC5CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD6#FFFFFF#000000##000000
##EC5CD61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A88DA
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#F66691
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5cd6;
/* rgb */ color: rgb(236, 92, 214);
/* oklch */ color: oklch(70.1% 0.222 334.2);
Tailwind
colors: {
  custom: {
    50: '#f592e3',
    500: '#ec5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd6;
$custom-light: #f592e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd6",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 309.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.22229,
    "h": 334.2
  },
  "luminance": 0.30342
}

Semantic roles & 50–950 ramp

primary
#EC5CD6
secondary
#B9EBC1
accent
#DB2A0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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