#D52BF2

#d52bf2 ≈ Electric Purple

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

#d52bf2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 16.86% green and 94.9% blue; printed in CMYK it uses 11.98% cyan, 82.23% magenta, 0% yellow and 5.1% black. Its hue angle is 291.26°, with 88.44% saturation and 55.88% 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.46:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.83.

Description generated from the measured properties of this color.

Conversions of #d52bf2 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.2228

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #aa6aba ≈ 0.001% of males
Protanopia #0077f7 ≈ 1.01% of males
Deuteranopia #4788ee ≈ 1.27% of males
Tritanopia #d65a93 ≈ 0.0001% of males
Protanomaly #8561f5 ≈ 1.08% of males
Deuteranomaly #966eef ≈ 4.63% of males
Tritanomaly #d64bc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d52bf2  rgb(213, 43, 242)  hsl(291, 88%, 56%)  Electric Purple
#48f22b  rgb(72, 242, 43)  hsl(111, 88%, 56%)  Neon Green
#f2d52b  rgb(242, 213, 43)  hsl(51, 88%, 56%)  Banana Yellow
#2bf2d5  rgb(43, 242, 213)  hsl(171, 88%, 56%)  Turquoise Blue