#D504DE

#d504de ≈ Electric Purple

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

#d504de 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 87.06% blue; printed in CMYK it uses 4.05% cyan, 98.2% magenta, 0% yellow and 12.94% black. Its hue angle is 297.52°, with 96.46% saturation and 44.31% 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 4.9:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.17.

Description generated from the measured properties of this color.

Conversions of #d504de 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.1951

Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a660ab ≈ 0.001% of males
Protanopia #006ce3 ≈ 1.01% of males
Deuteranopia #4f82da ≈ 1.27% of males
Tritanopia #da4383 ≈ 0.0001% of males
Protanomaly #8655e1 ≈ 1.08% of males
Deuteranomaly #9866dc ≈ 4.63% of males
Tritanomaly #d834af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d504de {
  color: #d504de;
}
Background
.bg-d504de {
  background-color: #d504de;
  color: #000000;
}
Border
.border-d504de {
  border: 2px solid #d504de;
}
CSS variables
:root {
  --color-primary: #d504de;
  --color-primary-rgb: 213 4 222;
  --color-primary-hsl: 298 96% 44%;
}
Gradient
.gradient-d504de {
  background: linear-gradient(135deg, #d504de, #de047a);
}
Colored shadow
.shadow-d504de {
  box-shadow: 0 8px 24px rgb(213 4 222 / 0.35);
}

Electric Purple
#d504de  rgb(213, 4, 222)  hsl(298, 96%, 44%)  Electric Purple
#0dde04  rgb(13, 222, 4)  hsl(118, 96%, 44%)  Lime Green
#ded504  rgb(222, 213, 4)  hsl(58, 96%, 44%)  Citrine
#04ded5  rgb(4, 222, 213)  hsl(178, 96%, 44%)  Bright Turquoise