#EC77DF#EC77DF

#EC77DF is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.189 H 331.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EC77DF
RGBrgb(236, 119, 223)
HSLhsl(307, 75%, 70%)
HSVhsv(307, 50%, 93%)
CMYKcmyk(0%, 49.6%, 5.5%, 7.5%)
CIE-LABlab(66.79, 58.55, -33.05)
CIE-LCHlch(66.79, 67.23, 330.55°)
OKLaboklab(73.78% 0.1667 -0.09)
OKLCHoklch(73.78% 0.189 331.6)
XYZxyz(54.5079, 36.3576, 73.9444)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77DF #77EC84
analogous
#BF77EC #EC77DF #EC77A4
triadic
#EC77DF #DFEC77 #77DFEC
tetradic
#EC77DF #ECBF77 #77EC84 #77A4EC
square
#EC77DF #ECBF77 #77EC84 #77A4EC
split-complementary
#EC77DF #A4EC77 #77ECBF
monochromatic
#CC1DB9 #E441D2 #EC77DF #F4ADEC #FBE2F8

Accessibility & contrast

On white

2.54
#EC77DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#EC77DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77DF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77DF#FFFFFF#000000##000000
##EC77DF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#95A8DC
Tritanopia (blue-blind)
#F480A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec77df;
/* rgb */ color: rgb(236, 119, 223);
/* oklch */ color: oklch(73.8% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#f4a2e9',
    500: '#ec77df',
    950: '#000000',
  },
}
SCSS
$custom: #ec77df;
$custom-light: #f4a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77df",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 306.667,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.18945,
    "h": 331.6
  },
  "luminance": 0.36354
}

Semantic roles & 50–950 ramp

primary
#EC77DF
secondary
#CFF0D2
accent
#D8240E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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