#EC77F6#EC77F6

#EC77F6 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 74.8% C 0.209 H 324.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#EC77F6
RGBrgb(236, 119, 246)
HSLhsl(295, 88%, 72%)
HSVhsv(295, 52%, 96%)
CMYKcmyk(4.1%, 51.6%, 0%, 3.5%)
CIE-LABlab(67.79, 62.52, -44.20)
CIE-LCHlch(67.79, 76.57, 324.74°)
OKLaboklab(74.84% 0.1702 -0.122)
OKLCHoklch(74.84% 0.209 324.4)
XYZxyz(57.8220, 37.6833, 91.3988)
Luminance0.3768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77F6 #81F677
analogous
#AD77F6 #EC77F6 #F677C0
triadic
#EC77F6 #F6EC77 #77F6EC
tetradic
#EC77F6 #F6AD77 #81F677 #77C0F6
square
#EC77F6 #F6AD77 #81F677 #77C0F6
split-complementary
#EC77F6 #C0F677 #77F6AD
monochromatic
#D30FE4 #E43EF2 #EC77F6 #F4B0FA #FBE2FD

Accessibility & contrast

On white

2.46
#EC77F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#EC77F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77F6
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77F6#FFFFFF#000000##000000
##EC77F61.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#8BAAF2
Tritanopia (blue-blind)
#F087AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec77f6;
/* rgb */ color: rgb(236, 119, 246);
/* oklch */ color: oklch(74.8% 0.209 324.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3f9',
    500: '#ec77f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec77f6;
$custom-light: #f5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77f6",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 295.276,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74839,
    "c": 0.20938,
    "h": 324.4
  },
  "luminance": 0.3768
}

Semantic roles & 50–950 ramp

primary
#EC77F6
secondary
#D7F5D4
accent
#E40113
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77F6

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

Preview Lab → · Contrast checker → · Palette generator →

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