#E478F2#E478F2

#E478F2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.8% C 0.200 H 322.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#E478F2
RGBrgb(228, 120, 242)
HSLhsl(293, 82%, 71%)
HSVhsv(293, 50%, 95%)
CMYKcmyk(5.8%, 50.4%, 0%, 5.1%)
CIE-LABlab(66.78, 59.18, -43.66)
CIE-LCHlch(66.78, 73.54, 323.59°)
OKLaboklab(73.83% 0.1594 -0.1206)
OKLCHoklch(73.83% 0.2 322.9)
XYZxyz(54.7368, 36.3403, 88.1183)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478F2 #86F278
analogous
#A778F2 #E478F2 #F278C3
triadic
#E478F2 #F2E478 #78F2E4
tetradic
#E478F2 #F2A778 #86F278 #78C3F2
square
#E478F2 #F2A778 #86F278 #78C3F2
split-complementary
#E478F2 #C3F278 #78F2A7
monochromatic
#C415DB #D940ED #E478F2 #EFB0F7 #F9E3FC

Accessibility & contrast

On white

2.54
#E478F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#E478F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478F2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478F2#FFFFFF#000000##000000
##E478F21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#E788AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e478f2;
/* rgb */ color: rgb(228, 120, 242);
/* oklch */ color: oklch(73.8% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#efa3f7',
    500: '#e478f2',
    950: '#000000',
  },
}
SCSS
$custom: #e478f2;
$custom-light: #efa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e478f2",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 293.115,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73825,
    "c": 0.19989,
    "h": 322.9
  },
  "luminance": 0.36338
}

Semantic roles & 50–950 ramp

primary
#E478F2
secondary
#D6F3D3
accent
#DF071F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E478F2

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

Preview Lab → · Contrast checker → · Palette generator →

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