#C504DA

#c504da ≈ Electric Purple

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

#c504da is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 85.49% blue; printed in CMYK it uses 9.63% cyan, 98.17% magenta, 0% yellow and 14.51% black. Its hue angle is 294.11°, with 96.4% saturation and 43.53% 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. White text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #c504da 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.1702

Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9a5aa6 ≈ 0.001% of males
Protanopia #0067df ≈ 1.01% of males
Deuteranopia #3d79d6 ≈ 1.27% of males
Tritanopia #c84680 ≈ 0.0001% of males
Protanomaly #7850dd ≈ 1.08% of males
Deuteranomaly #895fd8 ≈ 4.63% of males
Tritanomaly #c736ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c504da {
  color: #c504da;
}
Background
.bg-c504da {
  background-color: #c504da;
  color: #ffffff;
}
Border
.border-c504da {
  border: 2px solid #c504da;
}
CSS variables
:root {
  --color-primary: #c504da;
  --color-primary-rgb: 197 4 218;
  --color-primary-hsl: 294 96% 44%;
}
Gradient
.gradient-c504da {
  background: linear-gradient(135deg, #c504da, #da0484);
}
Colored shadow
.shadow-c504da {
  box-shadow: 0 8px 24px rgb(197 4 218 / 0.35);
}

Electric Purple
#c504da  rgb(197, 4, 218)  hsl(294, 96%, 44%)  Electric Purple
#19da04  rgb(25, 218, 4)  hsl(114, 96%, 44%)  Lime Green
#dac504  rgb(218, 197, 4)  hsl(54, 96%, 44%)  Citrine
#04dac5  rgb(4, 218, 197)  hsl(174, 96%, 44%)  Turquoise