#EC73DB#EC73DB

#EC73DB is a light, vivid purple. Relative luminance 0.352; OKLCH L 73.1% C 0.192 H 332.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#EC73DB
RGBrgb(236, 115, 219)
HSLhsl(308, 76%, 69%)
HSVhsv(308, 51%, 93%)
CMYKcmyk(0%, 51.3%, 7.2%, 7.5%)
CIE-LABlab(65.91, 59.78, -32.19)
CIE-LCHlch(65.91, 67.90, 331.70°)
OKLaboklab(73.08% 0.1714 -0.0875)
OKLCHoklch(73.08% 0.192 332.9)
XYZxyz(53.5089, 35.2123, 70.9824)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC73DB #73EC84
analogous
#C173EC #EC73DB #EC739F
triadic
#EC73DB #DBEC73 #73DBEC
tetradic
#EC73DB #ECC173 #73EC84 #739FEC
square
#EC73DB #ECC173 #73EC84 #739FEC
split-complementary
#EC73DB #9FEC73 #73ECC1
monochromatic
#C91BB1 #E53DCD #EC73DB #F3A9E9 #FBDFF7

Accessibility & contrast

On white

2.61
#EC73DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#EC73DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC73DB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC73DB#FFFFFF#000000##000000
##EC73DB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#94A6D8
Tritanopia (blue-blind)
#F57B9D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec73db;
/* rgb */ color: rgb(236, 115, 219);
/* oklch */ color: oklch(73.1% 0.192 332.9);
Tailwind
colors: {
  custom: {
    50: '#f5a0e6',
    500: '#ec73db',
    950: '#000000',
  },
}
SCSS
$custom: #ec73db;
$custom-light: #f5a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec73db",
  "rgb": {
    "r": 236,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 308.43,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.19246,
    "h": 332.9
  },
  "luminance": 0.35209
}

Semantic roles & 50–950 ramp

primary
#EC73DB
secondary
#CCEFD1
accent
#D82A0D
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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