#EC5CD7#EC5CD7

#EC5CD7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.1% C 0.223 H 333.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD7
RGBrgb(236, 92, 215)
HSLhsl(309, 79%, 64%)
HSVhsv(309, 61%, 93%)
CMYKcmyk(0%, 61%, 8.9%, 7.5%)
CIE-LABlab(62.00, 69.27, -36.04)
CIE-LCHlch(62.00, 78.09, 332.52°)
OKLaboklab(70.14% 0.2002 -0.0983)
OKLCHoklch(70.14% 0.223 333.8)
XYZxyz(50.6852, 30.3974, 67.4746)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD7 #5CEC71
analogous
#B95CEC #EC5CD7 #EC5C8F
triadic
#EC5CD7 #D7EC5C #5CD7EC
tetradic
#EC5CD7 #ECB95C #5CEC71 #5C8FEC
square
#EC5CD7 #ECB95C #5CEC71 #5C8FEC
split-complementary
#EC5CD7 #8FEC5C #5CECB9
monochromatic
#B815A0 #E625CA #EC5CD7 #F293E4 #F9CAF2

Accessibility & contrast

On white

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

On black

7.08
#EC5CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD7#FFFFFF#000000##000000
##EC5CD71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5cd7;
/* rgb */ color: rgb(236, 92, 215);
/* oklch */ color: oklch(70.1% 0.223 333.8);
Tailwind
colors: {
  custom: {
    50: '#f592e3',
    500: '#ec5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd7;
$custom-light: #f592e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd7",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 308.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.22304,
    "h": 333.8
  },
  "luminance": 0.30393
}

Semantic roles & 50–950 ramp

primary
#EC5CD7
secondary
#B9EBC0
accent
#DB290A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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