#B40BFC

#b40bfc ≈ Electric Purple

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

#b40bfc 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 98.82% blue; printed in CMYK it uses 28.57% cyan, 95.63% magenta, 0% yellow and 1.18% black. Its hue angle is 282.07°, with 97.57% saturation and 51.57% 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.9.

Description generated from the measured properties of this color.

Conversions of #b40bfc 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.1697

Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #915aba ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0074f8 ≈ 1.27% of males
Tritanopia #a95e95 ≈ 0.0001% of males
Protanomaly #5c56ff ≈ 1.08% of males
Deuteranomaly #6d5cfa ≈ 4.63% of males
Tritanomaly #ae4ac7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b40bfc {
  color: #b40bfc;
}
Background
.bg-b40bfc {
  background-color: #b40bfc;
  color: #ffffff;
}
Border
.border-b40bfc {
  border: 2px solid #b40bfc;
}
CSS variables
:root {
  --color-primary: #b40bfc;
  --color-primary-rgb: 180 11 252;
  --color-primary-hsl: 282 98% 52%;
}
Gradient
.gradient-b40bfc {
  background: linear-gradient(135deg, #b40bfc, #fc0bcc);
}
Colored shadow
.shadow-b40bfc {
  box-shadow: 0 8px 24px rgb(180 11 252 / 0.35);
}

Electric Purple
#b40bfc  rgb(180, 11, 252)  hsl(282, 98%, 52%)  Electric Purple
#53fc0b  rgb(83, 252, 11)  hsl(102, 98%, 52%)  Harlequin
#fcb40b  rgb(252, 180, 11)  hsl(42, 98%, 52%)  Amber
#0bfcb4  rgb(11, 252, 180)  hsl(162, 98%, 52%)  Medium Spring Green