#EC76DA#EC76DA

#EC76DA is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.187 H 333.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#EC76DA
RGBrgb(236, 118, 218)
HSLhsl(309, 76%, 69%)
HSVhsv(309, 50%, 93%)
CMYKcmyk(0%, 50%, 7.6%, 7.5%)
CIE-LABlab(66.41, 58.20, -30.86)
CIE-LCHlch(66.41, 65.88, 332.06°)
OKLaboklab(73.43% 0.1671 -0.0838)
OKLCHoklch(73.43% 0.187 333.4)
XYZxyz(53.7253, 35.8552, 70.4071)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76DA #76EC88
analogous
#C376EC #EC76DA #EC769F
triadic
#EC76DA #DAEC76 #76DAEC
tetradic
#EC76DA #ECC376 #76EC88 #769FEC
square
#EC76DA #ECC376 #76EC88 #769FEC
split-complementary
#EC76DA #9FEC76 #76ECC3
monochromatic
#CB1CB1 #E540CB #EC76DA #F3ACE9 #FBE1F7

Accessibility & contrast

On white

2.57
#EC76DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#EC76DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76DA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76DA#FFFFFF#000000##000000
##EC76DA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#96A8D7
Tritanopia (blue-blind)
#F57D9E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec76da;
/* rgb */ color: rgb(236, 118, 218);
/* oklch */ color: oklch(73.4% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#f4a2e5',
    500: '#ec76da',
    950: '#000000',
  },
}
SCSS
$custom: #ec76da;
$custom-light: #f4a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76da",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 309.153,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73428,
    "c": 0.18696,
    "h": 333.4
  },
  "luminance": 0.35852
}

Semantic roles & 50–950 ramp

primary
#EC76DA
secondary
#CEF0D3
accent
#D82D0E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC76DA

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

Preview Lab → · Contrast checker → · Palette generator →

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