#E478EF#E478EF

#E478EF is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.7% C 0.197 H 323.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#E478EF
RGBrgb(228, 120, 239)
HSLhsl(294, 79%, 70%)
HSVhsv(294, 50%, 94%)
CMYKcmyk(4.6%, 49.8%, 0%, 6.3%)
CIE-LABlab(66.64, 58.64, -42.22)
CIE-LCHlch(66.64, 72.25, 324.25°)
OKLaboklab(73.68% 0.159 -0.1164)
OKLCHoklch(73.68% 0.197 323.8)
XYZxyz(54.2899, 36.1615, 85.7648)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478EF #83EF78
analogous
#A878EF #E478EF #EF78BE
triadic
#E478EF #EFE478 #78EFE4
tetradic
#E478EF #EFA878 #83EF78 #78BEEF
square
#E478EF #EFA878 #83EF78 #78BEEF
split-complementary
#E478EF #BEEF78 #78EFA8
monochromatic
#C219D4 #D941E9 #E478EF #EFAFF5 #FAE4FC

Accessibility & contrast

On white

2.55
#E478EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#E478EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478EF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478EF#FFFFFF#000000##000000
##E478EF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#E887A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e478ef;
/* rgb */ color: rgb(228, 120, 239);
/* oklch */ color: oklch(73.7% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#efa3f4',
    500: '#e478ef',
    950: '#000000',
  },
}
SCSS
$custom: #e478ef;
$custom-light: #efa3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e478ef",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 294.454,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7368,
    "c": 0.1971,
    "h": 323.8
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#E478EF
secondary
#D4F2D1
accent
#DB0A1E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E478EF

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

Preview Lab → · Contrast checker → · Palette generator →

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