#EC76EA#EC76EA

#EC76EA is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.1% C 0.200 H 328.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#EC76EA
RGBrgb(236, 118, 234)
HSLhsl(301, 76%, 69%)
HSVhsv(301, 50%, 93%)
CMYKcmyk(0%, 50%, 0.8%, 7.5%)
CIE-LABlab(67.08, 60.88, -38.71)
CIE-LCHlch(67.08, 72.14, 327.55°)
OKLaboklab(74.14% 0.1699 -0.1062)
OKLCHoklch(74.14% 0.2 328)
XYZxyz(55.9209, 36.7334, 81.9707)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC76EA #76EC78
analogous
#B376EC #EC76EA #EC76AF
triadic
#EC76EA #EAEC76 #76EAEC
tetradic
#EC76EA #ECB376 #76EC78 #76AFEC
square
#EC76EA #ECB376 #76EC78 #76AFEC
split-complementary
#EC76EA #AFEC76 #76ECB3
monochromatic
#CB1CC8 #E540E2 #EC76EA #F3ACF2 #FBE1FA

Accessibility & contrast

On white

2.52
#EC76EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#EC76EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC76EA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC76EA#FFFFFF#000000##000000
##EC76EA1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#8FA9E6
Tritanopia (blue-blind)
#F382A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec76ea;
/* rgb */ color: rgb(236, 118, 234);
/* oklch */ color: oklch(74.1% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#f5a2f1',
    500: '#ec76ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec76ea;
$custom-light: #f5a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec76ea",
  "rgb": {
    "r": 236,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 301.017,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74141,
    "c": 0.20031,
    "h": 328
  },
  "luminance": 0.3673
}

Semantic roles & 50–950 ramp

primary
#EC76EA
secondary
#CEF0CE
accent
#D8110E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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