#E478EB#E478EB

#E478EB is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.5% C 0.193 H 325.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#E478EB
RGBrgb(228, 120, 235)
HSLhsl(296, 74%, 70%)
HSVhsv(296, 49%, 92%)
CMYKcmyk(3%, 48.9%, 0%, 7.8%)
CIE-LABlab(66.46, 57.91, -40.29)
CIE-LCHlch(66.46, 70.55, 325.17°)
OKLaboklab(73.49% 0.1585 -0.1109)
OKLCHoklch(73.49% 0.193 325)
XYZxyz(53.7055, 35.9278, 82.6870)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478EB #7FEB78
analogous
#AB78EB #E478EB #EB78B9
triadic
#E478EB #EBE478 #78EBE4
tetradic
#E478EB #EBAB78 #7FEB78 #78B9EB
square
#E478EB #EBAB78 #7FEB78 #78B9EB
split-complementary
#E478EB #B9EB78 #78EBAB
monochromatic
#C01ECB #D943E3 #E478EB #EFADF3 #F9E3FB

Accessibility & contrast

On white

2.57
#E478EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#E478EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478EB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478EB#FFFFFF#000000##000000
##E478EB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#8BA6E8
Tritanopia (blue-blind)
#E986A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e478eb;
/* rgb */ color: rgb(228, 120, 235);
/* oklch */ color: oklch(73.5% 0.193 325.0);
Tailwind
colors: {
  custom: {
    50: '#efa3f2',
    500: '#e478eb',
    950: '#000000',
  },
}
SCSS
$custom: #e478eb;
$custom-light: #efa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e478eb",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 296.348,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7349,
    "c": 0.19341,
    "h": 325
  },
  "luminance": 0.35925
}

Semantic roles & 50–950 ramp

primary
#E478EB
secondary
#D1F0CF
accent
#D60F1B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E478EB

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

Preview Lab → · Contrast checker → · Palette generator →

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