#EC4EDA#EC4EDA

#EC4EDA is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.9% C 0.243 H 332.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#EC4EDA
RGBrgb(236, 78, 218)
HSLhsl(307, 81%, 62%)
HSVhsv(307, 67%, 93%)
CMYKcmyk(0%, 66.9%, 7.6%, 7.5%)
CIE-LABlab(60.20, 75.10, -40.54)
CIE-LCHlch(60.20, 85.34, 331.64°)
OKLaboklab(68.88% 0.2162 -0.1111)
OKLCHoklch(68.88% 0.243 332.8)
XYZxyz(49.9715, 28.3476, 69.1558)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EDA #4EEC60
analogous
#AF4EEC #EC4EDA #EC4E8B
triadic
#EC4EDA #DAEC4E #4EDAEC
tetradic
#EC4EDA #ECAF4E #4EEC60 #4E8BEC
square
#EC4EDA #ECAF4E #4EEC60 #4E8BEC
split-complementary
#EC4EDA #8BEC4E #4EECAF
monochromatic
#AD139B #E419CD #EC4EDA #F285E6 #F8BDF1

Accessibility & contrast

On white

3.15
#EC4EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#EC4EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EDA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EDA#FFFFFF#000000##000000
##EC4EDA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DE
Deuteranopia (green-blind)
#7F99D6
Tritanopia (blue-blind)
#F65D8E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec4eda;
/* rgb */ color: rgb(236, 78, 218);
/* oklch */ color: oklch(68.9% 0.243 332.8);
Tailwind
colors: {
  custom: {
    50: '#f68be6',
    500: '#ec4eda',
    950: '#000000',
  },
}
SCSS
$custom: #ec4eda;
$custom-light: #f68be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4eda",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 306.835,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.24306,
    "h": 332.8
  },
  "luminance": 0.28344
}

Semantic roles & 50–950 ramp

primary
#EC4EDA
secondary
#AEE8B4
accent
#DD2109
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EC4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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