#EC5FE4#EC5FE4

#EC5FE4 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.1% C 0.229 H 330.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#EC5FE4
RGBrgb(236, 95, 228)
HSLhsl(303, 79%, 65%)
HSVhsv(303, 60%, 93%)
CMYKcmyk(0%, 59.7%, 3.4%, 7.5%)
CIE-LABlab(63.03, 70.09, -41.71)
CIE-LCHlch(63.03, 81.56, 329.25°)
OKLaboklab(71.08% 0.1981 -0.1146)
OKLCHoklch(71.08% 0.229 330)
XYZxyz(52.6875, 31.6223, 76.7124)
Luminance0.3162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FE4 #5FEC67
analogous
#AD5FEC #EC5FE4 #EC5F9E
triadic
#EC5FE4 #E4EC5F #5FE4EC
tetradic
#EC5FE4 #ECAD5F #5FEC67 #5F9EEC
square
#EC5FE4 #ECAD5F #5FEC67 #5F9EEC
split-complementary
#EC5FE4 #9EEC5F #5FECAD
monochromatic
#BA16B1 #E628DB #EC5FE4 #F296ED #F9CCF6

Accessibility & contrast

On white

2.87
#EC5FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#EC5FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FE4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FE4#FFFFFF#000000##000000
##EC5FE41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548CE8
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#F46E99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5fe4;
/* rgb */ color: rgb(236, 95, 228);
/* oklch */ color: oklch(71.1% 0.229 330.0);
Tailwind
colors: {
  custom: {
    50: '#f594ed',
    500: '#ec5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fe4;
$custom-light: #f594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fe4",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 303.404,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.22889,
    "h": 330
  },
  "luminance": 0.31619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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