#EC76DB#EC76DB

#EC76DB is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.5% C 0.188 H 333.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC76DB
RGBrgb(236, 118, 219)
HSLhsl(309, 76%, 69%)
HSVhsv(309, 50%, 93%)
CMYKcmyk(0%, 50%, 7.2%, 7.5%)
CIE-LABlab(66.45, 58.36, -31.36)
CIE-LCHlch(66.45, 66.25, 331.75°)
OKLaboklab(73.47% 0.1673 -0.0852)
OKLCHoklch(73.47% 0.188 333)
XYZxyz(53.8566, 35.9077, 71.0983)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76DB #76EC87
analogous
#C276EC #EC76DB #EC76A0
triadic
#EC76DB #DBEC76 #76DBEC
tetradic
#EC76DB #ECC276 #76EC87 #76A0EC
square
#EC76DB #ECC276 #76EC87 #76A0EC
split-complementary
#EC76DB #A0EC76 #76ECC2
monochromatic
#CB1CB2 #E540CD #EC76DB #F3ACE9 #FBE1F7

Accessibility & contrast

On white

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

On black

8.18
#EC76DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76DB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76DB#FFFFFF#000000##000000
##EC76DB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#95A8D8
Tritanopia (blue-blind)
#F57E9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec76db;
/* rgb */ color: rgb(236, 118, 219);
/* oklch */ color: oklch(73.5% 0.188 333.0);
Tailwind
colors: {
  custom: {
    50: '#f4a2e6',
    500: '#ec76db',
    950: '#000000',
  },
}
SCSS
$custom: #ec76db;
$custom-light: #f4a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76db",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 308.644,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73471,
    "c": 0.18776,
    "h": 333
  },
  "luminance": 0.35904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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