#E04CD8#E04CD8

#E04CD8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.9% C 0.238 H 330.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#E04CD8
RGBrgb(224, 76, 216)
HSLhsl(303, 70%, 59%)
HSVhsv(303, 66%, 88%)
CMYKcmyk(0%, 66.1%, 3.6%, 12.2%)
CIE-LABlab(58.02, 72.73, -42.97)
CIE-LCHlch(58.02, 84.48, 329.42°)
OKLaboklab(66.91% 0.206 -0.1183)
OKLCHoklch(66.91% 0.238 330.1)
XYZxyz(45.7193, 25.9774, 67.5586)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04CD8 #4CE054
analogous
#9E4CE0 #E04CD8 #E04C8E
triadic
#E04CD8 #D8E04C #4CD8E0
tetradic
#E04CD8 #E09E4C #4CE054 #4C8EE0
square
#E04CD8 #E09E4C #4CE054 #4C8EE0
split-complementary
#E04CD8 #8EE04C #4CE09E
monochromatic
#971A91 #CC23C2 #E04CD8 #E980E3 #F2B4EF

Accessibility & contrast

On white

3.39
#E04CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#E04CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04CD8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04CD8#FFFFFF#000000##000000
##E04CD81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDC
Deuteranopia (green-blind)
#7593D4
Tritanopia (blue-blind)
#E85D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e04cd8;
/* rgb */ color: rgb(224, 76, 216);
/* oklch */ color: oklch(66.9% 0.238 330.1);
Tailwind
colors: {
  custom: {
    50: '#ed89e4',
    500: '#e04cd8',
    950: '#000000',
  },
}
SCSS
$custom: #e04cd8;
$custom-light: #ed89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e04cd8",
  "rgb": {
    "r": 224,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 303.243,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66909,
    "c": 0.23753,
    "h": 330.1
  },
  "luminance": 0.25974
}

Semantic roles & 50–950 ramp

primary
#E04CD8
secondary
#A7E1AA
accent
#ED443B
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170D15
muted
#857D84

Preview Lab

Preview with #E04CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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