#D504EA

#d504ea ≈ Electric Purple

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

#d504ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 1.57% green and 91.76% blue; printed in CMYK it uses 8.97% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 294.52°, with 96.64% saturation and 46.67% 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.03:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.04.

Description generated from the measured properties of this color.

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

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a762b3 ≈ 0.001% of males
Protanopia #006fef ≈ 1.01% of males
Deuteranopia #4483e6 ≈ 1.27% of males
Tritanopia #d84b8a ≈ 0.0001% of males
Protanomaly #8357ed ≈ 1.08% of males
Deuteranomaly #9567e7 ≈ 4.63% of males
Tritanomaly #d73ab8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d504ea {
  color: #d504ea;
}
Background
.bg-d504ea {
  background-color: #d504ea;
  color: #000000;
}
Border
.border-d504ea {
  border: 2px solid #d504ea;
}
CSS variables
:root {
  --color-primary: #d504ea;
  --color-primary-rgb: 213 4 234;
  --color-primary-hsl: 295 97% 47%;
}
Gradient
.gradient-d504ea {
  background: linear-gradient(135deg, #d504ea, #ea048c);
}
Colored shadow
.shadow-d504ea {
  box-shadow: 0 8px 24px rgb(213 4 234 / 0.35);
}

Electric Purple
#d504ea  rgb(213, 4, 234)  hsl(295, 97%, 47%)  Electric Purple
#19ea04  rgb(25, 234, 4)  hsl(115, 97%, 47%)  Lime
#ead504  rgb(234, 213, 4)  hsl(55, 97%, 47%)  Citrine
#04ead5  rgb(4, 234, 213)  hsl(175, 97%, 47%)  Turquoise