#D52CF4

#d52cf4 ≈ Electric Purple

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

#d52cf4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 17.25% green and 95.69% blue; printed in CMYK it uses 12.7% cyan, 81.97% magenta, 0% yellow and 4.31% black. Its hue angle is 290.7°, with 90.09% saturation and 56.47% 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.5:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.84.

Description generated from the measured properties of this color.

Conversions of #d52cf4 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.2248

Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #aa6abb ≈ 0.001% of males
Protanopia #0077f9 ≈ 1.01% of males
Deuteranopia #4588f0 ≈ 1.27% of males
Tritanopia #d65b94 ≈ 0.0001% of males
Protanomaly #8462f7 ≈ 1.08% of males
Deuteranomaly #956ff1 ≈ 4.63% of males
Tritanomaly #d64cc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d52cf4 {
  color: #d52cf4;
}
Background
.bg-d52cf4 {
  background-color: #d52cf4;
  color: #000000;
}
Border
.border-d52cf4 {
  border: 2px solid #d52cf4;
}
CSS variables
:root {
  --color-primary: #d52cf4;
  --color-primary-rgb: 213 44 244;
  --color-primary-hsl: 291 90% 56%;
}
Gradient
.gradient-d52cf4 {
  background: linear-gradient(135deg, #d52cf4, #f42caf);
}
Colored shadow
.shadow-d52cf4 {
  box-shadow: 0 8px 24px rgb(213 44 244 / 0.35);
}

Electric Purple
#d52cf4  rgb(213, 44, 244)  hsl(291, 90%, 56%)  Electric Purple
#4bf42c  rgb(75, 244, 44)  hsl(111, 90%, 56%)  Neon Green
#f4d52c  rgb(244, 213, 44)  hsl(51, 90%, 56%)  Banana Yellow
#2cf4d5  rgb(44, 244, 213)  hsl(171, 90%, 56%)  Turquoise Blue