#E477EC#E477EC

#E477EC is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.4% C 0.196 H 324.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#E477EC
RGBrgb(228, 119, 236)
HSLhsl(296, 75%, 70%)
HSVhsv(296, 50%, 93%)
CMYKcmyk(3.4%, 49.6%, 0%, 7.5%)
CIE-LABlab(66.33, 58.57, -41.06)
CIE-LCHlch(66.33, 71.53, 324.97°)
OKLaboklab(73.4% 0.16 -0.1131)
OKLCHoklch(73.4% 0.196 324.7)
XYZxyz(53.7307, 35.7464, 83.4102)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E477EC #7FEC77
analogous
#A977EC #E477EC #EC77BA
triadic
#E477EC #ECE477 #77ECE4
tetradic
#E477EC #ECA977 #7FEC77 #77BAEC
square
#E477EC #ECA977 #7FEC77 #77BAEC
split-complementary
#E477EC #BAEC77 #77ECA9
monochromatic
#C01DCC #D941E4 #E477EC #EFADF4 #F9E2FB

Accessibility & contrast

On white

2.58
#E477EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#E477EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E477EC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E477EC#FFFFFF#000000##000000
##E477EC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#E885A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e477ec;
/* rgb */ color: rgb(228, 119, 236);
/* oklch */ color: oklch(73.4% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#efa2f2',
    500: '#e477ec',
    950: '#000000',
  },
}
SCSS
$custom: #e477ec;
$custom-light: #efa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e477ec",
  "rgb": {
    "r": 228,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 295.897,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73402,
    "c": 0.1959,
    "h": 324.7
  },
  "luminance": 0.35744
}

Semantic roles & 50–950 ramp

primary
#E477EC
secondary
#D1F0CF
accent
#D80E1C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E477EC

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

Preview Lab → · Contrast checker → · Palette generator →

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