#B520FB

#b520fb ≈ Electric Purple

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

#b520fb 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 98.43% blue; printed in CMYK it uses 27.89% cyan, 87.25% magenta, 0% yellow and 1.57% black. Its hue angle is 280.82°, with 96.48% saturation and 55.49% 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.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.45.

Description generated from the measured properties of this color.

Conversions of #b520fb 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.1782

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #935eba ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0077f7 ≈ 1.27% of males
Tritanopia #ab6196 ≈ 0.0001% of males
Protanomaly #605afe ≈ 1.08% of males
Deuteranomaly #7060f9 ≈ 4.63% of males
Tritanomaly #af4fc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b520fb  rgb(181, 32, 251)  hsl(281, 96%, 55%)  Electric Purple
#66fb20  rgb(102, 251, 32)  hsl(101, 96%, 55%)  Harlequin
#fbb520  rgb(251, 181, 32)  hsl(41, 96%, 55%)  Amber
#20fbb5  rgb(32, 251, 181)  hsl(161, 96%, 55%)  Medium Spring Green