#EC77F7#EC77F7

#EC77F7 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 74.9% C 0.210 H 324.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EC77F7
RGBrgb(236, 119, 247)
HSLhsl(295, 89%, 72%)
HSVhsv(295, 52%, 97%)
CMYKcmyk(4.5%, 51.8%, 0%, 3.1%)
CIE-LABlab(67.83, 62.69, -44.68)
CIE-LCHlch(67.83, 76.99, 324.52°)
OKLaboklab(74.89% 0.1703 -0.1234)
OKLCHoklch(74.89% 0.21 324.1)
XYZxyz(57.9759, 37.7448, 92.2093)
Luminance0.3774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77F7 #82F777
analogous
#AC77F7 #EC77F7 #F777C2
triadic
#EC77F7 #F7EC77 #77F7EC
tetradic
#EC77F7 #F7AC77 #82F777 #77C2F7
square
#EC77F7 #F7AC77 #82F777 #77C2F7
split-complementary
#EC77F7 #C2F777 #77F7AC
monochromatic
#D30EE6 #E43DF4 #EC77F7 #F4B1FA #FBE2FD

Accessibility & contrast

On white

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

On black

8.55
#EC77F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77F7
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77F7#FFFFFF#000000##000000
##EC77F71.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#F087AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec77f7;
/* rgb */ color: rgb(236, 119, 247);
/* oklch */ color: oklch(74.9% 0.210 324.1);
Tailwind
colors: {
  custom: {
    50: '#f5a3fa',
    500: '#ec77f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec77f7;
$custom-light: #f5a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77f7",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 294.844,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74887,
    "c": 0.21028,
    "h": 324.1
  },
  "luminance": 0.37742
}

Semantic roles & 50–950 ramp

primary
#EC77F7
secondary
#D7F5D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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