#EC77EA#EC77EA

#EC77EA is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.3% C 0.199 H 328.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#EC77EA
RGBrgb(236, 119, 234)
HSLhsl(301, 75%, 70%)
HSVhsv(301, 50%, 93%)
CMYKcmyk(0%, 49.6%, 0.8%, 7.5%)
CIE-LABlab(67.25, 60.41, -38.43)
CIE-LCHlch(67.25, 71.59, 327.54°)
OKLaboklab(74.27% 0.1685 -0.1054)
OKLCHoklch(74.27% 0.199 328)
XYZxyz(56.0393, 36.9702, 82.0102)
Luminance0.3697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77EA #77EC79
analogous
#B477EC #EC77EA #EC77AF
triadic
#EC77EA #EAEC77 #77EAEC
tetradic
#EC77EA #ECB477 #77EC79 #77AFEC
square
#EC77EA #ECB477 #77EC79 #77AFEC
split-complementary
#EC77EA #AFEC77 #77ECB4
monochromatic
#CC1DC9 #E441E2 #EC77EA #F4ADF2 #FBE2FB

Accessibility & contrast

On white

2.50
#EC77EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#EC77EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77EA#FFFFFF#000000##000000
##EC77EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#F283A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec77ea;
/* rgb */ color: rgb(236, 119, 234);
/* oklch */ color: oklch(74.3% 0.199 328.0);
Tailwind
colors: {
  custom: {
    50: '#f4a2f1',
    500: '#ec77ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec77ea;
$custom-light: #f4a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77ea",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 301.026,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74273,
    "c": 0.19877,
    "h": 328
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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