#EC77EE#EC77EE

#EC77EE is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.5% C 0.202 H 326.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EC77EE
RGBrgb(236, 119, 238)
HSLhsl(299, 78%, 70%)
HSVhsv(299, 50%, 93%)
CMYKcmyk(0.8%, 50%, 0%, 6.7%)
CIE-LABlab(67.43, 61.10, -40.36)
CIE-LCHlch(67.43, 73.23, 326.55°)
OKLaboklab(74.46% 0.1691 -0.1109)
OKLCHoklch(74.46% 0.202 326.7)
XYZxyz(56.6205, 37.2027, 85.0708)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77EE #79EE77
analogous
#B177EE #EC77EE #EE77B4
triadic
#EC77EE #EEEC77 #77EEEC
tetradic
#EC77EE #EEB177 #79EE77 #77B4EE
square
#EC77EE #EEB177 #79EE77 #77B4EE
split-complementary
#EC77EE #B4EE77 #77EEB1
monochromatic
#CD1AD1 #E441E7 #EC77EE #F4ADF5 #FBE4FC

Accessibility & contrast

On white

2.49
#EC77EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#EC77EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77EE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77EE#FFFFFF#000000##000000
##EC77EE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#8EAAEA
Tritanopia (blue-blind)
#F284A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec77ee;
/* rgb */ color: rgb(236, 119, 238);
/* oklch */ color: oklch(74.5% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#f5a3f4',
    500: '#ec77ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec77ee;
$custom-light: #f5a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77ee",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 298.992,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.74458,
    "c": 0.20226,
    "h": 326.7
  },
  "luminance": 0.372
}

Semantic roles & 50–950 ramp

primary
#EC77EE
secondary
#D0F1D0
accent
#DA0B0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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