#B40BF2

#b40bf2 ≈ Electric Purple

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

#b40bf2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 4.31% green and 94.9% blue; printed in CMYK it uses 25.62% cyan, 95.45% magenta, 0% yellow and 5.1% black. Its hue angle is 283.9°, with 91.3% saturation and 49.61% 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.92:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.57.

Description generated from the measured properties of this color.

Conversions of #b40bf2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1635

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9059b3 ≈ 0.001% of males
Protanopia #006af7 ≈ 1.01% of males
Deuteranopia #0073ee ≈ 1.27% of males
Tritanopia #ac588f ≈ 0.0001% of males
Protanomaly #6053f5 ≈ 1.08% of males
Deuteranomaly #705bf0 ≈ 4.63% of males
Tritanomaly #af45bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b40bf2 {
  color: #b40bf2;
}
Background
.bg-b40bf2 {
  background-color: #b40bf2;
  color: #ffffff;
}
Border
.border-b40bf2 {
  border: 2px solid #b40bf2;
}
CSS variables
:root {
  --color-primary: #b40bf2;
  --color-primary-rgb: 180 11 242;
  --color-primary-hsl: 284 91% 50%;
}
Gradient
.gradient-b40bf2 {
  background: linear-gradient(135deg, #b40bf2, #f20bbc);
}
Colored shadow
.shadow-b40bf2 {
  box-shadow: 0 8px 24px rgb(180 11 242 / 0.35);
}

Electric Purple
#b40bf2  rgb(180, 11, 242)  hsl(284, 91%, 50%)  Electric Purple
#49f20b  rgb(73, 242, 11)  hsl(104, 91%, 50%)  Harlequin
#f2b40b  rgb(242, 180, 11)  hsl(44, 91%, 50%)  Amber
#0bf2b4  rgb(11, 242, 180)  hsl(164, 91%, 50%)  Medium Spring Green