#B40FFD

#b40ffd ≈ Electric Purple

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

#b40ffd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 5.88% green and 99.22% blue; printed in CMYK it uses 28.85% cyan, 94.07% magenta, 0% yellow and 0.78% black. Its hue angle is 281.6°, with 98.35% saturation and 52.55% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.8.

Description generated from the measured properties of this color.

Conversions of #b40ffd 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.1714

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #925bbb ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0075f9 ≈ 1.27% of males
Tritanopia #a95f96 ≈ 0.0001% of males
Protanomaly #5c56ff ≈ 1.08% of males
Deuteranomaly #6c5dfb ≈ 4.63% of males
Tritanomaly #ae4bc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b40ffd  rgb(180, 15, 253)  hsl(282, 98%, 53%)  Electric Purple
#58fd0f  rgb(88, 253, 15)  hsl(102, 98%, 53%)  Harlequin
#fdb40f  rgb(253, 180, 15)  hsl(42, 98%, 53%)  Amber
#0ffdb4  rgb(15, 253, 180)  hsl(162, 98%, 53%)  Medium Spring Green