#E04FD4#E04FD4

#E04FD4 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.231 H 331.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#E04FD4
RGBrgb(224, 79, 212)
HSLhsl(305, 70%, 59%)
HSVhsv(305, 65%, 88%)
CMYKcmyk(0%, 64.7%, 5.4%, 12.2%)
CIE-LABlab(58.22, 70.98, -40.38)
CIE-LCHlch(58.22, 81.66, 330.37°)
OKLaboklab(67% 0.2024 -0.1109)
OKLCHoklch(67% 0.231 331.3)
XYZxyz(45.4200, 26.1961, 64.9387)
Luminance0.2619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04FD4 #4FE05B
analogous
#A44FE0 #E04FD4 #E04F8B
triadic
#E04FD4 #D4E04F #4FD4E0
tetradic
#E04FD4 #E0A44F #4FE05B #4F8BE0
square
#E04FD4 #E0A44F #4FE05B #4F8BE0
split-complementary
#E04FD4 #8BE04F #4FE0A4
monochromatic
#9A1B8F #CE24C0 #E04FD4 #E983E1 #F2B7ED

Accessibility & contrast

On white

3.37
#E04FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#E04FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04FD4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04FD4#FFFFFF#000000##000000
##E04FD41.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD8
Deuteranopia (green-blind)
#7993D0
Tritanopia (blue-blind)
#E95E8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e04fd4;
/* rgb */ color: rgb(224, 79, 212);
/* oklch */ color: oklch(67.0% 0.231 331.3);
Tailwind
colors: {
  custom: {
    50: '#ed8be1',
    500: '#e04fd4',
    950: '#000000',
  },
}
SCSS
$custom: #e04fd4;
$custom-light: #ed8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#e04fd4",
  "rgb": {
    "r": 224,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 304.966,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.23083,
    "h": 331.3
  },
  "luminance": 0.26193
}

Semantic roles & 50–950 ramp

primary
#E04FD4
secondary
#A9E2AE
accent
#ED4A3B
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E04FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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