#B52AE2

#b52ae2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#b52ae2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 16.47% green and 88.63% blue; printed in CMYK it uses 19.91% cyan, 81.42% magenta, 0% yellow and 11.37% black. Its hue angle is 285.33°, with 76.03% saturation and 52.55% 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 brand accents. White text on this color reaches a contrast ratio of 4.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.63.

Description generated from the measured properties of this color.

Conversions of #b52ae2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1697

Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #925eab ≈ 0.001% of males
Protanopia #006be7 ≈ 1.01% of males
Deuteranopia #2276de ≈ 1.27% of males
Tritanopia #b15889 ≈ 0.0001% of males
Protanomaly #6b58e5 ≈ 1.08% of males
Deuteranomaly #7a60e0 ≈ 4.63% of males
Tritanomaly #b34ab4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b52ae2 {
  color: #b52ae2;
}
Background
.bg-b52ae2 {
  background-color: #b52ae2;
  color: #ffffff;
}
Border
.border-b52ae2 {
  border: 2px solid #b52ae2;
}
CSS variables
:root {
  --color-primary: #b52ae2;
  --color-primary-rgb: 181 42 226;
  --color-primary-hsl: 285 76% 53%;
}
Gradient
.gradient-b52ae2 {
  background: linear-gradient(135deg, #b52ae2, #e22ab3);
}
Colored shadow
.shadow-b52ae2 {
  box-shadow: 0 8px 24px rgb(181 42 226 / 0.35);
}

Electric Purple
#b52ae2  rgb(181, 42, 226)  hsl(285, 76%, 53%)  Electric Purple
#57e22a  rgb(87, 226, 42)  hsl(105, 76%, 53%)  Lime Green
#e2b52a  rgb(226, 181, 42)  hsl(45, 76%, 53%)  Meat Brown
#2ae2b5  rgb(42, 226, 181)  hsl(165, 76%, 53%)  Caribbean Green