#C504CF

#c504cf ≈ Electric Purple

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

#c504cf 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 81.18% blue; printed in CMYK it uses 4.83% cyan, 98.07% magenta, 0% yellow and 18.82% black. Its hue angle is 297.04°, with 96.21% saturation and 41.37% 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.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.66.

Description generated from the measured properties of this color.

Conversions of #c504cf 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.1646

Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9a599f ≈ 0.001% of males
Protanopia #0064d3 ≈ 1.01% of males
Deuteranopia #4778cb ≈ 1.27% of males
Tritanopia #ca3f7a ≈ 0.0001% of males
Protanomaly #7b4ed2 ≈ 1.08% of males
Deuteranomaly #8c5ecd ≈ 4.63% of males
Tritanomaly #c831a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c504cf  rgb(197, 4, 207)  hsl(297, 96%, 41%)  Electric Purple
#0ecf04  rgb(14, 207, 4)  hsl(117, 96%, 41%)  Lime Green
#cfc504  rgb(207, 197, 4)  hsl(57, 96%, 41%)  Citrine
#04cfc5  rgb(4, 207, 197)  hsl(177, 96%, 41%)  Medium Turquoise