#E478DB#E478DB

#E478DB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.179 H 330.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#E478DB
RGBrgb(228, 120, 219)
HSLhsl(305, 67%, 68%)
HSVhsv(305, 47%, 89%)
CMYKcmyk(0%, 47.4%, 3.9%, 10.6%)
CIE-LABlab(65.78, 55.10, -32.47)
CIE-LCHlch(65.78, 63.96, 329.49°)
OKLaboklab(72.76% 0.1558 -0.0885)
OKLCHoklch(72.76% 0.179 330.4)
XYZxyz(51.4971, 35.0444, 71.0559)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478DB #78E481
analogous
#B778E4 #E478DB #E478A5
triadic
#E478DB #DBE478 #78DBE4
tetradic
#E478DB #E4B778 #78E481 #78A5E4
square
#E478DB #E4B778 #78E481 #78A5E4
split-complementary
#E478DB #A5E478 #78E4B7
monochromatic
#BC26AF #DA45CD #E478DB #EEABE9 #F8DEF6

Accessibility & contrast

On white

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

On black

8.01
#E478DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478DB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478DB#FFFFFF#000000##000000
##E478DB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#EB819F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e478db;
/* rgb */ color: rgb(228, 120, 219);
/* oklch */ color: oklch(72.8% 0.179 330.4);
Tailwind
colors: {
  custom: {
    50: '#efa2e6',
    500: '#e478db',
    950: '#000000',
  },
}
SCSS
$custom: #e478db;
$custom-light: #efa2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e478db",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 305,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72761,
    "c": 0.17919,
    "h": 330.4
  },
  "luminance": 0.35041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E478DB

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

Preview Lab → · Contrast checker → · Palette generator →

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