#E04CD5#E04CD5

#E04CD5 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.8% C 0.235 H 331.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#E04CD5
RGBrgb(224, 76, 213)
HSLhsl(304, 70%, 59%)
HSVhsv(304, 66%, 88%)
CMYKcmyk(0%, 66.1%, 4.9%, 12.2%)
CIE-LABlab(57.87, 72.26, -41.50)
CIE-LCHlch(57.87, 83.33, 330.13°)
OKLaboklab(66.76% 0.2058 -0.1141)
OKLCHoklch(66.76% 0.235 331)
XYZxyz(45.3350, 25.8237, 65.5346)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04CD5 #4CE057
analogous
#A14CE0 #E04CD5 #E04C8B
triadic
#E04CD5 #D5E04C #4CD5E0
tetradic
#E04CD5 #E0A14C #4CE057 #4C8BE0
square
#E04CD5 #E0A14C #4CE057 #4C8BE0
split-complementary
#E04CD5 #8BE04C #4CE0A1
monochromatic
#971A8E #CC23BF #E04CD5 #E980E1 #F2B4ED

Accessibility & contrast

On white

3.41
#E04CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#E04CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04CD5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04CD5#FFFFFF#000000##000000
##E04CD51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417ED9
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#E95C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e04cd5;
/* rgb */ color: rgb(224, 76, 213);
/* oklch */ color: oklch(66.8% 0.235 331.0);
Tailwind
colors: {
  custom: {
    50: '#ed89e2',
    500: '#e04cd5',
    950: '#000000',
  },
}
SCSS
$custom: #e04cd5;
$custom-light: #ed89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e04cd5",
  "rgb": {
    "r": 224,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 304.459,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.23527,
    "h": 331
  },
  "luminance": 0.2582
}

Semantic roles & 50–950 ramp

primary
#E04CD5
secondary
#A7E1AB
accent
#ED483B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170D15
muted
#857D83

Preview Lab

Preview with #E04CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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