#C52DF2

#c52df2 ≈ Electric Purple

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

#c52df2 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 94.9% blue; printed in CMYK it uses 18.6% cyan, 81.4% magenta, 0% yellow and 5.1% black. Its hue angle is 286.29°, with 88.34% saturation and 56.27% 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 3.3.

Description generated from the measured properties of this color.

Conversions of #c52df2 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.2016

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 #9e65b7 ≈ 0.001% of males
Protanopia #0073f7 ≈ 1.01% of males
Deuteranopia #2c80ee ≈ 1.27% of males
Tritanopia #c25e93 ≈ 0.0001% of males
Protanomaly #765ff5 ≈ 1.08% of males
Deuteranomaly #8669f0 ≈ 4.63% of males
Tritanomaly #c34fc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c52df2 {
  color: #c52df2;
}
Background
.bg-c52df2 {
  background-color: #c52df2;
  color: #000000;
}
Border
.border-c52df2 {
  border: 2px solid #c52df2;
}
CSS variables
:root {
  --color-primary: #c52df2;
  --color-primary-rgb: 197 45 242;
  --color-primary-hsl: 286 88% 56%;
}
Gradient
.gradient-c52df2 {
  background: linear-gradient(135deg, #c52df2, #f22dbd);
}
Colored shadow
.shadow-c52df2 {
  box-shadow: 0 8px 24px rgb(197 45 242 / 0.35);
}

Electric Purple
#c52df2  rgb(197, 45, 242)  hsl(286, 88%, 56%)  Electric Purple
#5af22d  rgb(90, 242, 45)  hsl(106, 88%, 56%)  Neon Green
#f2c52d  rgb(242, 197, 45)  hsl(46, 88%, 56%)  Saffron
#2df2c5  rgb(45, 242, 197)  hsl(166, 88%, 56%)  Aquamarine