#E478FB#E478FB

#E478FB is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.3% C 0.208 H 320.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#E478FB
RGBrgb(228, 120, 251)
HSLhsl(289, 94%, 73%)
HSVhsv(289, 52%, 98%)
CMYKcmyk(9.2%, 52.2%, 0%, 1.6%)
CIE-LABlab(67.20, 60.86, -47.94)
CIE-LCHlch(67.20, 77.48, 321.77°)
OKLaboklab(74.27% 0.1605 -0.133)
OKLCHoklch(74.27% 0.208 320.4)
XYZxyz(56.1219, 36.8943, 95.4132)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478FB #8FFB78
analogous
#A378FB #E478FB #FB78D0
triadic
#E478FB #FBE478 #78FBE4
tetradic
#E478FB #FBA378 #8FFB78 #78D0FB
square
#E478FB #FBA378 #8FFB78 #78D0FB
split-complementary
#E478FB #D0FB78 #78FBA3
monochromatic
#C807F1 #D83DF9 #E478FB #F0B3FD #F9E1FE

Accessibility & contrast

On white

2.51
#E478FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#E478FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478FB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478FB#FFFFFF#000000##000000
##E478FB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#E58BAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e478fb;
/* rgb */ color: rgb(228, 120, 251);
/* oklch */ color: oklch(74.3% 0.208 320.4);
Tailwind
colors: {
  custom: {
    50: '#efa3fd',
    500: '#e478fb',
    950: '#000000',
  },
}
SCSS
$custom: #e478fb;
$custom-light: #efa3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e478fb",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 289.466,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7427,
    "c": 0.20838,
    "h": 320.4
  },
  "luminance": 0.36892
}

Semantic roles & 50–950 ramp

primary
#E478FB
secondary
#DBF6D5
accent
#E60028
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E478FB

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

Preview Lab → · Contrast checker → · Palette generator →

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