#DC04E5

#dc04e5 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#dc04e5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 1.57% green and 89.8% blue; printed in CMYK it uses 3.93% cyan, 98.25% magenta, 0% yellow and 10.2% black. Its hue angle is 297.6°, with 96.57% saturation and 45.69% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.62.

Description generated from the measured properties of this color.

Conversions of #dc04e5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2096

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #ac64b1 ≈ 0.001% of males
Protanopia #0070ea ≈ 1.01% of males
Deuteranopia #5286e1 ≈ 1.27% of males
Tritanopia #e24687 ≈ 0.0001% of males
Protanomaly #8a58e8 ≈ 1.08% of males
Deuteranomaly #9d6ae2 ≈ 4.63% of males
Tritanomaly #df36b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc04e5 {
  color: #dc04e5;
}
Background
.bg-dc04e5 {
  background-color: #dc04e5;
  color: #000000;
}
Border
.border-dc04e5 {
  border: 2px solid #dc04e5;
}
CSS variables
:root {
  --color-primary: #dc04e5;
  --color-primary-rgb: 220 4 229;
  --color-primary-hsl: 298 97% 46%;
}
Gradient
.gradient-dc04e5 {
  background: linear-gradient(135deg, #dc04e5, #e5047e);
}
Colored shadow
.shadow-dc04e5 {
  box-shadow: 0 8px 24px rgb(220 4 229 / 0.35);
}

Electric Purple
#dc04e5  rgb(220, 4, 229)  hsl(298, 97%, 46%)  Electric Purple
#0de504  rgb(13, 229, 4)  hsl(118, 97%, 46%)  Lime
#e5dc04  rgb(229, 220, 4)  hsl(58, 97%, 46%)  Dandelion
#04e5dc  rgb(4, 229, 220)  hsl(178, 97%, 46%)  Bright Turquoise