#EC74DB#EC74DB

#EC74DB is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.2% C 0.191 H 333.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#EC74DB
RGBrgb(236, 116, 219)
HSLhsl(309, 76%, 69%)
HSVhsv(309, 51%, 93%)
CMYKcmyk(0%, 50.8%, 7.2%, 7.5%)
CIE-LABlab(66.09, 59.31, -31.91)
CIE-LCHlch(66.09, 67.35, 331.72°)
OKLaboklab(73.21% 0.17 -0.0868)
OKLCHoklch(73.21% 0.191 333)
XYZxyz(53.6235, 35.4416, 71.0206)
Luminance0.3544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74DB #74EC85
analogous
#C174EC #EC74DB #EC749F
triadic
#EC74DB #DBEC74 #74DBEC
tetradic
#EC74DB #ECC174 #74EC85 #749FEC
square
#EC74DB #ECC174 #74EC85 #749FEC
split-complementary
#EC74DB #9FEC74 #74ECC1
monochromatic
#CA1CB1 #E53ECD #EC74DB #F3AAE9 #FBE0F7

Accessibility & contrast

On white

2.60
#EC74DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#EC74DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74DB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74DB#FFFFFF#000000##000000
##EC74DB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DE
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#F57C9E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec74db;
/* rgb */ color: rgb(236, 116, 219);
/* oklch */ color: oklch(73.2% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#f5a0e6',
    500: '#ec74db',
    950: '#000000',
  },
}
SCSS
$custom: #ec74db;
$custom-light: #f5a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74db",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 308.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.1909,
    "h": 333
  },
  "luminance": 0.35438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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