#EC77EF#EC77EF

#EC77EF is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.5% C 0.203 H 326.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#EC77EF
RGBrgb(236, 119, 239)
HSLhsl(299, 79%, 70%)
HSVhsv(299, 50%, 94%)
CMYKcmyk(1.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(67.47, 61.28, -40.85)
CIE-LCHlch(67.47, 73.64, 326.31°)
OKLaboklab(74.51% 0.1693 -0.1123)
OKLCHoklch(74.51% 0.203 326.4)
XYZxyz(56.7678, 37.2616, 85.8467)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77EF #7AEF77
analogous
#B077EF #EC77EF #EF77B6
triadic
#EC77EF #EFEC77 #77EFEC
tetradic
#EC77EF #EFB077 #7AEF77 #77B6EF
square
#EC77EF #EFB077 #7AEF77 #77B6EF
split-complementary
#EC77EF #B6EF77 #77EFB0
monochromatic
#CE19D3 #E440E9 #EC77EF #F4AEF5 #FBE4FC

Accessibility & contrast

On white

2.48
#EC77EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#EC77EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77EF#FFFFFF#000000##000000
##EC77EF1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#F285A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec77ef;
/* rgb */ color: rgb(236, 119, 239);
/* oklch */ color: oklch(74.5% 0.203 326.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3f4',
    500: '#ec77ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec77ef;
$custom-light: #f5a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77ef",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 298.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.20314,
    "h": 326.4
  },
  "luminance": 0.37259
}

Semantic roles & 50–950 ramp

primary
#EC77EF
secondary
#D1F2D0
accent
#DB0A0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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