#C52DFA

#c52dfa ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#c52dfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 17.65% green and 98.04% blue; printed in CMYK it uses 21.2% cyan, 82% magenta, 0% yellow and 1.96% black. Its hue angle is 284.49°, with 95.35% saturation and 57.84% lightness in HSL. It is a cool color, 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.13:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.17.

Description generated from the measured properties of this color.

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

Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #9f67bd ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #1981f6 ≈ 1.27% of males
Tritanopia #c06297 ≈ 0.0001% of males
Protanomaly #7460fd ≈ 1.08% of males
Deuteranomaly #8469f8 ≈ 4.63% of males
Tritanomaly #c252c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c52dfa {
  color: #c52dfa;
}
Background
.bg-c52dfa {
  background-color: #c52dfa;
  color: #000000;
}
Border
.border-c52dfa {
  border: 2px solid #c52dfa;
}
CSS variables
:root {
  --color-primary: #c52dfa;
  --color-primary-rgb: 197 45 250;
  --color-primary-hsl: 284 95% 58%;
}
Gradient
.gradient-c52dfa {
  background: linear-gradient(135deg, #c52dfa, #fa2dc8);
}
Colored shadow
.shadow-c52dfa {
  box-shadow: 0 8px 24px rgb(197 45 250 / 0.35);
}

Electric Purple
#c52dfa  rgb(197, 45, 250)  hsl(284, 95%, 58%)  Electric Purple
#62fa2d  rgb(98, 250, 45)  hsl(104, 95%, 58%)  Harlequin
#fac52d  rgb(250, 197, 45)  hsl(44, 95%, 58%)  Saffron
#2dfac5  rgb(45, 250, 197)  hsl(164, 95%, 58%)  Aquamarine