#C52FFB

#c52ffb ≈ Electric Purple

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

#c52ffb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 18.43% green and 98.43% blue; printed in CMYK it uses 21.51% cyan, 81.27% magenta, 0% yellow and 1.57% black. Its hue angle is 284.12°, with 96.23% saturation and 58.43% 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.17:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #c52ffb 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.2087

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9f67bd ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #1981f7 ≈ 1.27% of males
Tritanopia #c06398 ≈ 0.0001% of males
Protanomaly #7461fe ≈ 1.08% of males
Deuteranomaly #846af9 ≈ 4.63% of males
Tritanomaly #c253c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c52ffb  rgb(197, 47, 251)  hsl(284, 96%, 58%)  Electric Purple
#65fb2f  rgb(101, 251, 47)  hsl(104, 96%, 58%)  Harlequin
#fbc52f  rgb(251, 197, 47)  hsl(44, 96%, 58%)  Saffron
#2ffbc5  rgb(47, 251, 197)  hsl(164, 96%, 58%)  Aquamarine