#B520F7

#b520f7 ≈ Electric Purple

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

#b520f7 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.86% blue; printed in CMYK it uses 26.72% cyan, 87.04% magenta, 0% yellow and 3.14% black. Its hue angle is 281.58°, with 93.07% saturation and 54.71% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.59.

Description generated from the measured properties of this color.

Conversions of #b520f7 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.1757

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #935eb8 ≈ 0.001% of males
Protanopia #006efc ≈ 1.01% of males
Deuteranopia #0077f3 ≈ 1.27% of males
Tritanopia #ac5f94 ≈ 0.0001% of males
Protanomaly #6259fa ≈ 1.08% of males
Deuteranomaly #7260f5 ≈ 4.63% of males
Tritanomaly #b04dc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b520f7  rgb(181, 32, 247)  hsl(282, 93%, 55%)  Electric Purple
#62f720  rgb(98, 247, 32)  hsl(102, 93%, 55%)  Harlequin
#f7b520  rgb(247, 181, 32)  hsl(42, 93%, 55%)  Amber
#20f7b5  rgb(32, 247, 181)  hsl(162, 93%, 55%)  Medium Spring Green