#E04AFE#E04AFE

#E04AFE is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.8% C 0.270 H 320.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#E04AFE
RGBrgb(224, 74, 254)
HSLhsl(290, 99%, 64%)
HSVhsv(290, 71%, 100%)
CMYKcmyk(11.8%, 70.9%, 0%, 0.4%)
CIE-LABlab(59.80, 79.77, -61.38)
CIE-LCHlch(59.80, 100.66, 322.42°)
OKLaboklab(68.85% 0.2077 -0.1719)
OKLCHoklch(68.85% 0.27 320.4)
XYZxyz(51.0765, 27.9032, 96.4422)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04AFE #68FE4A
analogous
#864AFE #E04AFE #FE4AC2
triadic
#E04AFE #FEE04A #4AFEE0
tetradic
#E04AFE #FE864A #68FE4A #4AC2FE
square
#E04AFE #FE864A #68FE4A #4AC2FE
split-complementary
#E04AFE #C2FE4A #4AFE86
monochromatic
#AB01CC #D60DFE #E04AFE #EA87FE #F5C4FF

Accessibility & contrast

On white

3.19
#E04AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#E04AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04AFE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04AFE#FFFFFF#000000##000000
##E04AFE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#E16DA0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e04afe;
/* rgb */ color: rgb(224, 74, 254);
/* oklch */ color: oklch(68.8% 0.270 320.4);
Tailwind
colors: {
  custom: {
    50: '#ee89ff',
    500: '#e04afe',
    950: '#000000',
  },
}
SCSS
$custom: #e04afe;
$custom-light: #ee89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e04afe",
  "rgb": {
    "r": 224,
    "g": 74,
    "b": 254
  },
  "hsl": {
    "h": 290,
    "s": 98.901,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.26964,
    "h": 320.4
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#E04AFE
secondary
#BDF1B3
accent
#E60026
background
#FFF9FF
surface
#FEF1FF
border
#D6CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #E04AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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