#EC76DD#EC76DD

#EC76DD is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.6% C 0.189 H 332.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#EC76DD
RGBrgb(236, 118, 221)
HSLhsl(308, 76%, 69%)
HSVhsv(308, 50%, 93%)
CMYKcmyk(0%, 50%, 6.4%, 7.5%)
CIE-LABlab(66.53, 58.69, -32.35)
CIE-LCHlch(66.53, 67.01, 331.14°)
OKLaboklab(73.56% 0.1677 -0.088)
OKLCHoklch(73.56% 0.189 332.3)
XYZxyz(54.1214, 36.0136, 72.4933)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76DD #76EC85
analogous
#C076EC #EC76DD #EC76A2
triadic
#EC76DD #DDEC76 #76DDEC
tetradic
#EC76DD #ECC076 #76EC85 #76A2EC
square
#EC76DD #ECC076 #76EC85 #76A2EC
split-complementary
#EC76DD #A2EC76 #76ECC0
monochromatic
#CB1CB5 #E540D0 #EC76DD #F3ACEA #FBE1F8

Accessibility & contrast

On white

2.56
#EC76DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#EC76DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76DD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76DD#FFFFFF#000000##000000
##EC76DD1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397E0
Deuteranopia (green-blind)
#95A8DA
Tritanopia (blue-blind)
#F57E9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec76dd;
/* rgb */ color: rgb(236, 118, 221);
/* oklch */ color: oklch(73.6% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#f4a2e8',
    500: '#ec76dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec76dd;
$custom-light: #f4a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76dd",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 307.627,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73558,
    "c": 0.18939,
    "h": 332.3
  },
  "luminance": 0.3601
}

Semantic roles & 50–950 ramp

primary
#EC76DD
secondary
#CEF0D2
accent
#D8270E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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