#B520EC

#b520ec ≈ Electric Purple

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

#b520ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 12.55% green and 92.55% blue; printed in CMYK it uses 23.31% cyan, 86.44% magenta, 0% yellow and 7.45% black. Its hue angle is 283.82°, with 84.3% saturation and 52.55% 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.79:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #b520ec 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.1691

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #925cb1 ≈ 0.001% of males
Protanopia #006bf1 ≈ 1.01% of males
Deuteranopia #0075e8 ≈ 1.27% of males
Tritanopia #af598d ≈ 0.0001% of males
Protanomaly #6657ef ≈ 1.08% of males
Deuteranomaly #755eea ≈ 4.63% of males
Tritanomaly #b149bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b520ec  rgb(181, 32, 236)  hsl(284, 84%, 53%)  Electric Purple
#57ec20  rgb(87, 236, 32)  hsl(104, 84%, 53%)  Neon Green
#ecb520  rgb(236, 181, 32)  hsl(44, 84%, 53%)  Meat Brown
#20ecb5  rgb(32, 236, 181)  hsl(164, 84%, 53%)  Aquamarine