#E478DF#E478DF

#E478DF is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.183 H 329.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#E478DF
RGBrgb(228, 120, 223)
HSLhsl(303, 67%, 68%)
HSVhsv(303, 47%, 89%)
CMYKcmyk(0%, 47.4%, 2.2%, 10.6%)
CIE-LABlab(65.95, 55.79, -34.44)
CIE-LCHlch(65.95, 65.57, 328.31°)
OKLaboklab(72.94% 0.1565 -0.0941)
OKLCHoklch(72.94% 0.183 329)
XYZxyz(52.0300, 35.2575, 73.8626)
Luminance0.3525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478DF #78E47D
analogous
#B378E4 #E478DF #E478A9
triadic
#E478DF #DFE478 #78DFE4
tetradic
#E478DF #E4B378 #78E47D #78A9E4
square
#E478DF #E4B378 #78E47D #78A9E4
split-complementary
#E478DF #A9E478 #78E4B3
monochromatic
#BC26B5 #DA45D3 #E478DF #EEABEB #F8DEF7

Accessibility & contrast

On white

2.61
#E478DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#E478DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478DF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478DF#FFFFFF#000000##000000
##E478DF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#90A5DC
Tritanopia (blue-blind)
#EB82A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e478df;
/* rgb */ color: rgb(228, 120, 223);
/* oklch */ color: oklch(72.9% 0.183 329.0);
Tailwind
colors: {
  custom: {
    50: '#efa2e9',
    500: '#e478df',
    950: '#000000',
  },
}
SCSS
$custom: #e478df;
$custom-light: #efa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e478df",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 302.778,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.18266,
    "h": 329
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

primary
#E478DF
secondary
#CCECCD
accent
#CF1F17
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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