#EC77F4#EC77F4

#EC77F4 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.7% C 0.208 H 324.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#EC77F4
RGBrgb(236, 119, 244)
HSLhsl(296, 85%, 71%)
HSVhsv(296, 51%, 96%)
CMYKcmyk(3.3%, 51.2%, 0%, 4.3%)
CIE-LABlab(67.70, 62.16, -43.25)
CIE-LCHlch(67.70, 75.72, 325.17°)
OKLaboklab(74.74% 0.1699 -0.1192)
OKLCHoklch(74.74% 0.208 324.9)
XYZxyz(57.5167, 37.5611, 89.7908)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77F4 #7FF477
analogous
#AD77F4 #EC77F4 #F477BD
triadic
#EC77F4 #F4EC77 #77F4EC
tetradic
#EC77F4 #F4AD77 #7FF477 #77BDF4
square
#EC77F4 #F4AD77 #7FF477 #77BDF4
split-complementary
#EC77F4 #BDF477 #77F4AD
monochromatic
#D112DF #E43EEF #EC77F4 #F4B0F9 #FBE3FD

Accessibility & contrast

On white

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

On black

8.51
#EC77F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77F4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77F4#FFFFFF#000000##000000
##EC77F41.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF8
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#F186AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec77f4;
/* rgb */ color: rgb(236, 119, 244);
/* oklch */ color: oklch(74.7% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#f5a3f8',
    500: '#ec77f4',
    950: '#000000',
  },
}
SCSS
$custom: #ec77f4;
$custom-light: #f5a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77f4",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 296.16,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.20758,
    "h": 324.9
  },
  "luminance": 0.37558
}

Semantic roles & 50–950 ramp

primary
#EC77F4
secondary
#D5F4D3
accent
#E20412
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77F4

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

Preview Lab → · Contrast checker → · Palette generator →

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