#E478FE#E478FE

#E478FE is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.4% C 0.211 H 319.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#E478FE
RGBrgb(228, 120, 254)
HSLhsl(288, 99%, 73%)
HSVhsv(288, 53%, 100%)
CMYKcmyk(10.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(67.34, 61.43, -49.36)
CIE-LCHlch(67.34, 78.80, 321.22°)
OKLaboklab(74.42% 0.1607 -0.1371)
OKLCHoklch(74.42% 0.211 319.5)
XYZxyz(56.5985, 37.0850, 97.9235)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478FE #92FE78
analogous
#A178FE #E478FE #FE78D5
triadic
#E478FE #FEE478 #78FEE4
tetradic
#E478FE #FEA178 #92FE78 #78D5FE
square
#E478FE #FEA178 #92FE78 #78D5FE
split-complementary
#E478FE #D5FE78 #78FEA1
monochromatic
#CA02FA #D83BFE #E478FE #F0B5FE #F9E1FF

Accessibility & contrast

On white

2.50
#E478FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#E478FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478FE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478FE#FFFFFF#000000##000000
##E478FE1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#E58CB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e478fe;
/* rgb */ color: rgb(228, 120, 254);
/* oklch */ color: oklch(74.4% 0.211 319.5);
Tailwind
colors: {
  custom: {
    50: '#efa3ff',
    500: '#e478fe',
    950: '#000000',
  },
}
SCSS
$custom: #e478fe;
$custom-light: #efa3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e478fe",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 288.358,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.21125,
    "h": 319.5
  },
  "luminance": 0.37083
}

Semantic roles & 50–950 ramp

primary
#E478FE
secondary
#DBF7D4
accent
#E6002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E478FE

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

Preview Lab → · Contrast checker → · Palette generator →

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