#EC77DE#EC77DE

#EC77DE is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.189 H 332.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC77DE
RGBrgb(236, 119, 222)
HSLhsl(307, 75%, 70%)
HSVhsv(307, 50%, 93%)
CMYKcmyk(0%, 49.6%, 5.9%, 7.5%)
CIE-LABlab(66.75, 58.38, -32.56)
CIE-LCHlch(66.75, 66.85, 330.85°)
OKLaboklab(73.74% 0.1665 -0.0886)
OKLCHoklch(73.74% 0.189 332)
XYZxyz(54.3734, 36.3039, 73.2365)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77DE #77EC85
analogous
#BF77EC #EC77DE #EC77A4
triadic
#EC77DE #DEEC77 #77DEEC
tetradic
#EC77DE #ECBF77 #77EC85 #77A4EC
square
#EC77DE #ECBF77 #77EC85 #77A4EC
split-complementary
#EC77DE #A4EC77 #77ECBF
monochromatic
#CC1DB7 #E441D1 #EC77DE #F4ADEB #FBE2F8

Accessibility & contrast

On white

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

On black

8.26
#EC77DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77DE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77DE#FFFFFF#000000##000000
##EC77DE1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E1
Deuteranopia (green-blind)
#95A8DB
Tritanopia (blue-blind)
#F47FA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec77de;
/* rgb */ color: rgb(236, 119, 222);
/* oklch */ color: oklch(73.7% 0.189 332.0);
Tailwind
colors: {
  custom: {
    50: '#f4a2e8',
    500: '#ec77de',
    950: '#000000',
  },
}
SCSS
$custom: #ec77de;
$custom-light: #f4a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77de",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 307.179,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.18862,
    "h": 332
  },
  "luminance": 0.363
}

Semantic roles & 50–950 ramp

primary
#EC77DE
secondary
#CFF0D3
accent
#D8260E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC77DE

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

Preview Lab → · Contrast checker → · Palette generator →

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