#EC4FD2#EC4FD2

#EC4FD2 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.6% C 0.236 H 335.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EC4FD2
RGBrgb(236, 79, 210)
HSLhsl(310, 81%, 62%)
HSVhsv(310, 67%, 93%)
CMYKcmyk(0%, 66.5%, 11%, 7.5%)
CIE-LABlab(59.96, 73.55, -36.39)
CIE-LCHlch(59.96, 82.06, 333.68°)
OKLaboklab(68.59% 0.2143 -0.0992)
OKLCHoklch(68.59% 0.236 335.2)
XYZxyz(49.0214, 28.0821, 63.7988)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4FD2 #4FEC69
analogous
#B74FEC #EC4FD2 #EC4F84
triadic
#EC4FD2 #D2EC4F #4FD2EC
tetradic
#EC4FD2 #ECB74F #4FEC69 #4F84EC
square
#EC4FD2 #ECB74F #4FEC69 #4F84EC
split-complementary
#EC4FD2 #84EC4F #4FECB7
monochromatic
#AE1394 #E519C3 #EC4FD2 #F286E0 #F8BDEE

Accessibility & contrast

On white

3.17
#EC4FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EC4FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4FD2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4FD2#FFFFFF#000000##000000
##EC4FD21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#8399CE
Tritanopia (blue-blind)
#F75A8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec4fd2;
/* rgb */ color: rgb(236, 79, 210);
/* oklch */ color: oklch(68.6% 0.236 335.2);
Tailwind
colors: {
  custom: {
    50: '#f68ce0',
    500: '#ec4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec4fd2;
$custom-light: #f68ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4fd2",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 309.936,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68586,
    "c": 0.23619,
    "h": 335.2
  },
  "luminance": 0.28078
}

Semantic roles & 50–950 ramp

primary
#EC4FD2
secondary
#AEE8B8
accent
#DD2C09
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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