#EC77F8#EC77F8

#EC77F8 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.9% C 0.211 H 323.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EC77F8
RGBrgb(236, 119, 248)
HSLhsl(294, 90%, 72%)
HSVhsv(294, 52%, 97%)
CMYKcmyk(4.8%, 52%, 0%, 2.7%)
CIE-LABlab(67.88, 62.87, -45.16)
CIE-LCHlch(67.88, 77.41, 324.31°)
OKLaboklab(74.94% 0.1704 -0.1247)
OKLCHoklch(74.94% 0.211 323.8)
XYZxyz(58.1306, 37.8067, 93.0242)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77F8 #83F877
analogous
#AC77F8 #EC77F8 #F877C3
triadic
#EC77F8 #F8EC77 #77F8EC
tetradic
#EC77F8 #F8AC77 #83F877 #77C3F8
square
#EC77F8 #F8AC77 #83F877 #77C3F8
split-complementary
#EC77F8 #C3F877 #77F8AC
monochromatic
#D40CE9 #E43DF5 #EC77F8 #F4B1FB #FBE2FE

Accessibility & contrast

On white

2.45
#EC77F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EC77F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77F8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77F8#FFFFFF#000000##000000
##EC77F81.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#F088AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec77f8;
/* rgb */ color: rgb(236, 119, 248);
/* oklch */ color: oklch(74.9% 0.211 323.8);
Tailwind
colors: {
  custom: {
    50: '#f5a3fb',
    500: '#ec77f8',
    950: '#000000',
  },
}
SCSS
$custom: #ec77f8;
$custom-light: #f5a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77f8",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 294.419,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.21118,
    "h": 323.8
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

primary
#EC77F8
secondary
#D8F6D5
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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