#E478FC#E478FC

#E478FC is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.3% C 0.209 H 320.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#E478FC
RGBrgb(228, 120, 252)
HSLhsl(289, 96%, 73%)
HSVhsv(289, 52%, 99%)
CMYKcmyk(9.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(67.25, 61.05, -48.42)
CIE-LCHlch(67.25, 77.92, 321.58°)
OKLaboklab(74.32% 0.1606 -0.1343)
OKLCHoklch(74.32% 0.209 320.1)
XYZxyz(56.2799, 36.9575, 96.2455)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478FC #90FC78
analogous
#A278FC #E478FC #FC78D2
triadic
#E478FC #FCE478 #78FCE4
tetradic
#E478FC #FCA278 #90FC78 #78D2FC
square
#E478FC #FCA278 #90FC78 #78D2FC
split-complementary
#E478FC #D2FC78 #78FCA2
monochromatic
#C905F4 #D83CFB #E478FC #F0B4FD #F9E1FE

Accessibility & contrast

On white

2.50
#E478FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#E478FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478FC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478FC#FFFFFF#000000##000000
##E478FC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e478fc;
/* rgb */ color: rgb(228, 120, 252);
/* oklch */ color: oklch(74.3% 0.209 320.1);
Tailwind
colors: {
  custom: {
    50: '#efa3fe',
    500: '#e478fc',
    950: '#000000',
  },
}
SCSS
$custom: #e478fc;
$custom-light: #efa3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e478fc",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 289.091,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7432,
    "c": 0.20933,
    "h": 320.1
  },
  "luminance": 0.36955
}

Semantic roles & 50–950 ramp

primary
#E478FC
secondary
#DBF7D4
accent
#E6002A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E478FC

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

Preview Lab → · Contrast checker → · Palette generator →

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