#E478DC#E478DC

#E478DC is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.180 H 330.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#E478DC
RGBrgb(228, 120, 220)
HSLhsl(304, 67%, 68%)
HSVhsv(304, 47%, 89%)
CMYKcmyk(0%, 47.4%, 3.5%, 10.6%)
CIE-LABlab(65.82, 55.27, -32.97)
CIE-LCHlch(65.82, 64.36, 329.19°)
OKLaboklab(72.8% 0.156 -0.0899)
OKLCHoklch(72.8% 0.18 330)
XYZxyz(51.6291, 35.0972, 71.7513)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478DC #78E480
analogous
#B678E4 #E478DC #E478A6
triadic
#E478DC #DCE478 #78DCE4
tetradic
#E478DC #E4B678 #78E480 #78A6E4
square
#E478DC #E4B678 #78E480 #78A6E4
split-complementary
#E478DC #A6E478 #78E4B6
monochromatic
#BC26B1 #DA45CF #E478DC #EEABE9 #F8DEF6

Accessibility & contrast

On white

2.62
#E478DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#E478DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478DC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478DC#FFFFFF#000000##000000
##E478DC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297DF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#EB81A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e478dc;
/* rgb */ color: rgb(228, 120, 220);
/* oklch */ color: oklch(72.8% 0.180 330.0);
Tailwind
colors: {
  custom: {
    50: '#efa2e7',
    500: '#e478dc',
    950: '#000000',
  },
}
SCSS
$custom: #e478dc;
$custom-light: #efa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e478dc",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 304.444,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.18005,
    "h": 330
  },
  "luminance": 0.35094
}

Semantic roles & 50–950 ramp

primary
#E478DC
secondary
#CCECCE
accent
#CF2517
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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