#B520F6

#b520f6 ≈ Electric Purple

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

#b520f6 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 96.47% blue; printed in CMYK it uses 26.42% cyan, 86.99% magenta, 0% yellow and 3.53% black. Its hue angle is 281.78°, with 92.24% 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 1.65.

Description generated from the measured properties of this color.

Conversions of #b520f6 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.1751

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

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #935eb7 ≈ 0.001% of males
Protanopia #006efb ≈ 1.01% of males
Deuteranopia #0077f2 ≈ 1.27% of males
Tritanopia #ac5f93 ≈ 0.0001% of males
Protanomaly #6259f9 ≈ 1.08% of males
Deuteranomaly #725ff4 ≈ 4.63% of males
Tritanomaly #b04dc3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b520f6 {
  color: #b520f6;
}
Background
.bg-b520f6 {
  background-color: #b520f6;
  color: #ffffff;
}
Border
.border-b520f6 {
  border: 2px solid #b520f6;
}
CSS variables
:root {
  --color-primary: #b520f6;
  --color-primary-rgb: 181 32 246;
  --color-primary-hsl: 282 92% 55%;
}
Gradient
.gradient-b520f6 {
  background: linear-gradient(135deg, #b520f6, #f620cc);
}
Colored shadow
.shadow-b520f6 {
  box-shadow: 0 8px 24px rgb(181 32 246 / 0.35);
}

Electric Purple
#b520f6  rgb(181, 32, 246)  hsl(282, 92%, 55%)  Electric Purple
#61f620  rgb(97, 246, 32)  hsl(102, 92%, 55%)  Harlequin
#f6b520  rgb(246, 181, 32)  hsl(42, 92%, 55%)  Amber
#20f6b5  rgb(32, 246, 181)  hsl(162, 92%, 55%)  Medium Spring Green