#E04CD7#E04CD7

#E04CD7 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.9% C 0.237 H 330.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#E04CD7
RGBrgb(224, 76, 215)
HSLhsl(304, 70%, 59%)
HSVhsv(304, 66%, 88%)
CMYKcmyk(0%, 66.1%, 4%, 12.2%)
CIE-LABlab(57.97, 72.57, -42.48)
CIE-LCHlch(57.97, 84.09, 329.66°)
OKLaboklab(66.86% 0.2059 -0.1169)
OKLCHoklch(66.86% 0.237 330.4)
XYZxyz(45.5904, 25.9259, 66.8798)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04CD7 #4CE055
analogous
#9F4CE0 #E04CD7 #E04C8D
triadic
#E04CD7 #D7E04C #4CD7E0
tetradic
#E04CD7 #E09F4C #4CE055 #4C8DE0
square
#E04CD7 #E09F4C #4CE055 #4C8DE0
split-complementary
#E04CD7 #8DE04C #4CE09F
monochromatic
#971A90 #CC23C1 #E04CD7 #E980E3 #F2B4EE

Accessibility & contrast

On white

3.40
#E04CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#E04CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04CD7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04CD7#FFFFFF#000000##000000
##E04CD71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDB
Deuteranopia (green-blind)
#7692D3
Tritanopia (blue-blind)
#E85D8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e04cd7;
/* rgb */ color: rgb(224, 76, 215);
/* oklch */ color: oklch(66.9% 0.237 330.4);
Tailwind
colors: {
  custom: {
    50: '#ed89e4',
    500: '#e04cd7',
    950: '#000000',
  },
}
SCSS
$custom: #e04cd7;
$custom-light: #ed89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e04cd7",
  "rgb": {
    "r": 224,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 303.649,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.23678,
    "h": 330.4
  },
  "luminance": 0.25922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E04CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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