#EC5CE4#EC5CE4

#EC5CE4 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.8% C 0.233 H 330.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE4
RGBrgb(236, 92, 228)
HSLhsl(303, 79%, 64%)
HSVhsv(303, 61%, 93%)
CMYKcmyk(0%, 61%, 3.4%, 7.5%)
CIE-LABlab(62.59, 71.31, -42.40)
CIE-LCHlch(62.59, 82.97, 329.26°)
OKLaboklab(70.76% 0.2016 -0.1166)
OKLCHoklch(70.76% 0.233 330)
XYZxyz(52.4224, 31.0923, 76.6241)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE4 #5CEC64
analogous
#AC5CEC #EC5CE4 #EC5C9C
triadic
#EC5CE4 #E4EC5C #5CE4EC
tetradic
#EC5CE4 #ECAC5C #5CEC64 #5C9CEC
square
#EC5CE4 #ECAC5C #5CEC64 #5C9CEC
split-complementary
#EC5CE4 #9CEC5C #5CECAC
monochromatic
#B815AF #E625DB #EC5CE4 #F293ED #F9CAF6

Accessibility & contrast

On white

2.91
#EC5CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#EC5CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE4#FFFFFF#000000##000000
##EC5CE41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#F46B98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ce4;
/* rgb */ color: rgb(236, 92, 228);
/* oklch */ color: oklch(70.8% 0.233 330.0);
Tailwind
colors: {
  custom: {
    50: '#f593ed',
    500: '#ec5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce4;
$custom-light: #f593ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce4",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 303.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.23292,
    "h": 330
  },
  "luminance": 0.31089
}

Semantic roles & 50–950 ramp

primary
#EC5CE4
secondary
#B9EBBC
accent
#DB160A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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