#EC77F2#EC77F2

#EC77F2 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.6% C 0.206 H 325.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#EC77F2
RGBrgb(236, 119, 242)
HSLhsl(297, 83%, 71%)
HSVhsv(297, 51%, 95%)
CMYKcmyk(2.5%, 50.8%, 0%, 5.1%)
CIE-LABlab(67.61, 61.80, -42.29)
CIE-LCHlch(67.61, 74.89, 325.62°)
OKLaboklab(74.65% 0.1697 -0.1165)
OKLCHoklch(74.65% 0.206 325.5)
XYZxyz(57.2146, 37.4403, 88.2002)
Luminance0.3744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77F2 #7DF277
analogous
#AE77F2 #EC77F2 #F277BA
triadic
#EC77F2 #F2EC77 #77F2EC
tetradic
#EC77F2 #F2AE77 #7DF277 #77BAF2
square
#EC77F2 #F2AE77 #7DF277 #77BAF2
split-complementary
#EC77F2 #BAF277 #77F2AE
monochromatic
#D015DA #E43FED #EC77F2 #F4AFF7 #FBE3FC

Accessibility & contrast

On white

2.47
#EC77F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#EC77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77F2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77F2#FFFFFF#000000##000000
##EC77F21.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#F186AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec77f2;
/* rgb */ color: rgb(236, 119, 242);
/* oklch */ color: oklch(74.6% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#f5a3f7',
    500: '#ec77f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec77f2;
$custom-light: #f5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77f2",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 297.073,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.20579,
    "h": 325.5
  },
  "luminance": 0.37437
}

Semantic roles & 50–950 ramp

primary
#EC77F2
secondary
#D3F3D2
accent
#DF0711
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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