#EC5CD5#EC5CD5

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

Color values

HEX#EC5CD5
RGBrgb(236, 92, 213)
HSLhsl(310, 79%, 64%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 61%, 9.7%, 7.5%)
CIE-LABlab(61.91, 68.97, -35.05)
CIE-LCHlch(61.91, 77.36, 333.06°)
OKLaboklab(70.05% 0.1999 -0.0955)
OKLCHoklch(70.05% 0.222 334.5)
XYZxyz(50.4298, 30.2952, 66.1294)
Luminance0.3029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD5 #5CEC73
analogous
#BB5CEC #EC5CD5 #EC5C8D
triadic
#EC5CD5 #D5EC5C #5CD5EC
tetradic
#EC5CD5 #ECBB5C #5CEC73 #5C8DEC
square
#EC5CD5 #ECBB5C #5CEC73 #5C8DEC
split-complementary
#EC5CD5 #8DEC5C #5CECBB
monochromatic
#B8159E #E625C7 #EC5CD5 #F293E3 #F9CAF1

Accessibility & contrast

On white

2.98
#EC5CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#EC5CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD5#FFFFFF#000000##000000
##EC5CD51.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D9
Deuteranopia (green-blind)
#899DD1
Tritanopia (blue-blind)
#F76690
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5cd5;
/* rgb */ color: rgb(236, 92, 213);
/* oklch */ color: oklch(70.0% 0.222 334.5);
Tailwind
colors: {
  custom: {
    50: '#f592e2',
    500: '#ec5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd5;
$custom-light: #f592e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd5",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 309.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.22156,
    "h": 334.5
  },
  "luminance": 0.30291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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