#E478F7#E478F7

#E478F7 is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.1% C 0.205 H 321.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#E478F7
RGBrgb(228, 120, 247)
HSLhsl(291, 89%, 72%)
HSVhsv(291, 51%, 97%)
CMYKcmyk(7.7%, 51.4%, 0%, 3.1%)
CIE-LABlab(67.01, 60.11, -46.04)
CIE-LCHlch(67.01, 75.72, 322.55°)
OKLaboklab(74.07% 0.16 -0.1275)
OKLCHoklch(74.07% 0.205 321.5)
XYZxyz(55.4980, 36.6448, 92.1275)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478F7 #8BF778
analogous
#A578F7 #E478F7 #F778CA
triadic
#E478F7 #F7E478 #78F7E4
tetradic
#E478F7 #F7A578 #8BF778 #78CAF7
square
#E478F7 #F7A578 #8BF778 #78CAF7
split-complementary
#E478F7 #CAF778 #78F7A5
monochromatic
#C60EE7 #D83EF4 #E478F7 #F0B2FA #F9E2FD

Accessibility & contrast

On white

2.52
#E478F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#E478F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478F7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478F7#FFFFFF#000000##000000
##E478F71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#E689AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e478f7;
/* rgb */ color: rgb(228, 120, 247);
/* oklch */ color: oklch(74.1% 0.205 321.5);
Tailwind
colors: {
  custom: {
    50: '#efa3fa',
    500: '#e478f7',
    950: '#000000',
  },
}
SCSS
$custom: #e478f7;
$custom-light: #efa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e478f7",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 291.024,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7407,
    "c": 0.20458,
    "h": 321.5
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#E478F7
secondary
#DAF5D5
accent
#E50022
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E478F7

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

Preview Lab → · Contrast checker → · Palette generator →

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