#EC77DB#EC77DB

#EC77DB is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.6% C 0.186 H 333.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#EC77DB
RGBrgb(236, 119, 219)
HSLhsl(309, 75%, 70%)
HSVhsv(309, 50%, 93%)
CMYKcmyk(0%, 49.6%, 7.2%, 7.5%)
CIE-LABlab(66.63, 57.89, -31.08)
CIE-LCHlch(66.63, 65.70, 331.77°)
OKLaboklab(73.61% 0.1659 -0.0844)
OKLCHoklch(73.61% 0.186 333)
XYZxyz(53.9749, 36.1445, 71.1378)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77DB #77EC88
analogous
#C377EC #EC77DB #EC77A1
triadic
#EC77DB #DBEC77 #77DBEC
tetradic
#EC77DB #ECC377 #77EC88 #77A1EC
square
#EC77DB #ECC377 #77EC88 #77A1EC
split-complementary
#EC77DB #A1EC77 #77ECC3
monochromatic
#CC1DB3 #E441CD #EC77DB #F4ADE9 #FBE2F7

Accessibility & contrast

On white

2.55
#EC77DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#EC77DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77DB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77DB#FFFFFF#000000##000000
##EC77DB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DE
Deuteranopia (green-blind)
#96A8D8
Tritanopia (blue-blind)
#F57F9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec77db;
/* rgb */ color: rgb(236, 119, 219);
/* oklch */ color: oklch(73.6% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#f4a2e6',
    500: '#ec77db',
    950: '#000000',
  },
}
SCSS
$custom: #ec77db;
$custom-light: #f4a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77db",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 308.718,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73606,
    "c": 0.18618,
    "h": 333
  },
  "luminance": 0.36141
}

Semantic roles & 50–950 ramp

primary
#EC77DB
secondary
#CFF0D4
accent
#D82B0E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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