#E477DC#E477DC

#E477DC is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.182 H 330.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#E477DC
RGBrgb(228, 119, 220)
HSLhsl(304, 67%, 68%)
HSVhsv(304, 48%, 89%)
CMYKcmyk(0%, 47.8%, 3.5%, 10.6%)
CIE-LABlab(65.64, 55.76, -33.25)
CIE-LCHlch(65.64, 64.92, 329.19°)
OKLaboklab(72.67% 0.1574 -0.0907)
OKLCHoklch(72.67% 0.182 330)
XYZxyz(51.5095, 34.8579, 71.7114)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E477DC #77E47F
analogous
#B677E4 #E477DC #E477A5
triadic
#E477DC #DCE477 #77DCE4
tetradic
#E477DC #E4B677 #77E47F #77A5E4
square
#E477DC #E4B677 #77E47F #77A5E4
split-complementary
#E477DC #A5E477 #77E4B6
monochromatic
#BB25B0 #DA44CF #E477DC #EEAAE9 #F8DDF6

Accessibility & contrast

On white

2.63
#E477DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#E477DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E477DC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E477DC#FFFFFF#000000##000000
##E477DC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#90A5D9
Tritanopia (blue-blind)
#EB809F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e477dc;
/* rgb */ color: rgb(228, 119, 220);
/* oklch */ color: oklch(72.7% 0.182 330.0);
Tailwind
colors: {
  custom: {
    50: '#efa2e7',
    500: '#e477dc',
    950: '#000000',
  },
}
SCSS
$custom: #e477dc;
$custom-light: #efa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e477dc",
  "rgb": {
    "r": 228,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 304.404,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72667,
    "c": 0.18166,
    "h": 330
  },
  "luminance": 0.34855
}

Semantic roles & 50–950 ramp

primary
#E477DC
secondary
#CBECCD
accent
#CF2417
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E477DC

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

Preview Lab → · Contrast checker → · Palette generator →

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