#B520F4

#b520f4 ≈ Electric Purple

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

#b520f4 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 95.69% blue; printed in CMYK it uses 25.82% cyan, 86.89% magenta, 0% yellow and 4.31% black. Its hue angle is 282.17°, with 90.6% saturation and 54.12% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.78.

Description generated from the measured properties of this color.

Conversions of #b520f4 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.1739

Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #925db6 ≈ 0.001% of males
Protanopia #006df9 ≈ 1.01% of males
Deuteranopia #0076f0 ≈ 1.27% of males
Tritanopia #ad5e92 ≈ 0.0001% of males
Protanomaly #6358f7 ≈ 1.08% of males
Deuteranomaly #735ff2 ≈ 4.63% of males
Tritanomaly #b04cc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b520f4  rgb(181, 32, 244)  hsl(282, 91%, 54%)  Electric Purple
#5ff420  rgb(95, 244, 32)  hsl(102, 91%, 54%)  Harlequin
#f4b520  rgb(244, 181, 32)  hsl(42, 91%, 54%)  Amber
#20f4b5  rgb(32, 244, 181)  hsl(162, 91%, 54%)  Medium Spring Green