#EC73D8#EC73D8

#EC73D8 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.190 H 334.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#EC73D8
RGBrgb(236, 115, 216)
HSLhsl(310, 76%, 69%)
HSVhsv(310, 51%, 93%)
CMYKcmyk(0%, 51.3%, 8.5%, 7.5%)
CIE-LABlab(65.79, 59.30, -30.70)
CIE-LCHlch(65.79, 66.77, 332.63°)
OKLaboklab(72.95% 0.1708 -0.0833)
OKLCHoklch(72.95% 0.19 334)
XYZxyz(53.1175, 35.0558, 68.9212)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC73D8 #73EC87
analogous
#C473EC #EC73D8 #EC739C
triadic
#EC73D8 #D8EC73 #73D8EC
tetradic
#EC73D8 #ECC473 #73EC87 #739CEC
square
#EC73D8 #ECC473 #73EC87 #739CEC
split-complementary
#EC73D8 #9CEC73 #73ECC4
monochromatic
#C91BAD #E53DC9 #EC73D8 #F3A9E7 #FBDFF6

Accessibility & contrast

On white

2.62
#EC73D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#EC73D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC73D8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC73D8#FFFFFF#000000##000000
##EC73D81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DB
Deuteranopia (green-blind)
#95A6D5
Tritanopia (blue-blind)
#F57A9C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec73d8;
/* rgb */ color: rgb(236, 115, 216);
/* oklch */ color: oklch(72.9% 0.190 334.0);
Tailwind
colors: {
  custom: {
    50: '#f5a0e4',
    500: '#ec73d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec73d8;
$custom-light: #f5a0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec73d8",
  "rgb": {
    "r": 236,
    "g": 115,
    "b": 216
  },
  "hsl": {
    "h": 309.917,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.19008,
    "h": 334
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

primary
#EC73D8
secondary
#CCEFD1
accent
#D82F0D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC73D8

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

Preview Lab → · Contrast checker → · Palette generator →

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