#EC4CFD#EC4CFD

#EC4CFD is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.6% C 0.272 H 323.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#EC4CFD
RGBrgb(236, 76, 253)
HSLhsl(294, 98%, 65%)
HSVhsv(294, 70%, 99%)
CMYKcmyk(6.7%, 70%, 0%, 0.8%)
CIE-LABlab(61.74, 81.34, -57.63)
CIE-LCHlch(61.74, 99.69, 324.68°)
OKLaboklab(70.56% 0.219 -0.1606)
OKLCHoklch(70.56% 0.272 323.7)
XYZxyz(54.9046, 30.0969, 95.8268)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4CFD #5DFD4C
analogous
#934CFD #EC4CFD #FD4CB6
triadic
#EC4CFD #FDEC4C #4CFDEC
tetradic
#EC4CFD #FD934C #5DFD4C #4CB6FD
square
#EC4CFD #FD934C #5DFD4C #4CB6FD
split-complementary
#EC4CFD #B6FD4C #4CFD93
monochromatic
#B902CC #E60FFC #EC4CFD #F289FE #F9C5FE

Accessibility & contrast

On white

2.99
#EC4CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#EC4CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC4CFD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4CFD#FFFFFF#000000##000000
##EC4CFD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0889FF
Deuteranopia (green-blind)
#6B9BF9
Tritanopia (blue-blind)
#F06BA0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec4cfd;
/* rgb */ color: rgb(236, 76, 253);
/* oklch */ color: oklch(70.6% 0.272 323.7);
Tailwind
colors: {
  custom: {
    50: '#f68cff',
    500: '#ec4cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ec4cfd;
$custom-light: #f68cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4cfd",
  "rgb": {
    "r": 236,
    "g": 76,
    "b": 253
  },
  "hsl": {
    "h": 294.237,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.27162,
    "h": 323.7
  },
  "luminance": 0.30094
}

Semantic roles & 50–950 ramp

primary
#EC4CFD
secondary
#BAF1B4
accent
#E60016
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D18
muted
#867E86

Preview Lab

Preview with #EC4CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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