#E478D4#E478D4

#E478D4 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.173 H 333.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E478D4
RGBrgb(228, 120, 212)
HSLhsl(309, 67%, 68%)
HSVhsv(309, 47%, 89%)
CMYKcmyk(0%, 47.4%, 7%, 10.6%)
CIE-LABlab(65.50, 53.92, -29.00)
CIE-LCHlch(65.50, 61.23, 331.73°)
OKLaboklab(72.46% 0.1544 -0.0787)
OKLCHoklch(72.46% 0.173 333)
XYZxyz(50.5949, 34.6835, 66.3043)
Luminance0.3468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478D4 #78E488
analogous
#BE78E4 #E478D4 #E4789E
triadic
#E478D4 #D4E478 #78D4E4
tetradic
#E478D4 #E4BE78 #78E488 #789EE4
square
#E478D4 #E4BE78 #78E488 #789EE4
split-complementary
#E478D4 #9EE478 #78E4BE
monochromatic
#BC26A6 #DA45C4 #E478D4 #EEABE4 #F8DEF4

Accessibility & contrast

On white

2.65
#E478D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#E478D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478D4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478D4#FFFFFF#000000##000000
##E478D41.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#EC7F9C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e478d4;
/* rgb */ color: rgb(228, 120, 212);
/* oklch */ color: oklch(72.5% 0.173 333.0);
Tailwind
colors: {
  custom: {
    50: '#efa2e1',
    500: '#e478d4',
    950: '#000000',
  },
}
SCSS
$custom: #e478d4;
$custom-light: #efa2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e478d4",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 308.889,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.1733,
    "h": 333
  },
  "luminance": 0.3468
}

Semantic roles & 50–950 ramp

primary
#E478D4
secondary
#CCECD0
accent
#CF3217
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E478D4

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

Preview Lab → · Contrast checker → · Palette generator →

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