#B52AEC

#b52aec ≈ Electric Purple

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

#b52aec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 16.47% green and 92.55% blue; printed in CMYK it uses 23.31% cyan, 82.2% magenta, 0% yellow and 7.45% black. Its hue angle is 282.99°, with 83.62% saturation and 54.51% 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. White text on this color reaches a contrast ratio of 4.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.51.

Description generated from the measured properties of this color.

Conversions of #b52aec 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.1754

Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #935fb1 ≈ 0.001% of males
Protanopia #006df1 ≈ 1.01% of males
Deuteranopia #0077e8 ≈ 1.27% of males
Tritanopia #af5d8f ≈ 0.0001% of males
Protanomaly #685aef ≈ 1.08% of males
Deuteranomaly #7761ea ≈ 4.63% of males
Tritanomaly #b14dbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b52aec {
  color: #b52aec;
}
Background
.bg-b52aec {
  background-color: #b52aec;
  color: #ffffff;
}
Border
.border-b52aec {
  border: 2px solid #b52aec;
}
CSS variables
:root {
  --color-primary: #b52aec;
  --color-primary-rgb: 181 42 236;
  --color-primary-hsl: 283 84% 55%;
}
Gradient
.gradient-b52aec {
  background: linear-gradient(135deg, #b52aec, #ec2ac2);
}
Colored shadow
.shadow-b52aec {
  box-shadow: 0 8px 24px rgb(181 42 236 / 0.35);
}

Electric Purple
#b52aec  rgb(181, 42, 236)  hsl(283, 84%, 55%)  Electric Purple
#61ec2a  rgb(97, 236, 42)  hsl(103, 84%, 55%)  Harlequin
#ecb52a  rgb(236, 181, 42)  hsl(43, 84%, 55%)  Meat Brown
#2aecb5  rgb(42, 236, 181)  hsl(163, 84%, 55%)  Aquamarine