#B40DEF

#b40def ≈ Electric Purple

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

#b40def 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.1% green and 93.73% blue; printed in CMYK it uses 24.69% cyan, 94.56% magenta, 0% yellow and 6.27% black. Its hue angle is 284.34°, with 89.68% saturation and 49.41% 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.95:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.81.

Description generated from the measured properties of this color.

Conversions of #b40def 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.1622

Readable text 4.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9059b2 ≈ 0.001% of males
Protanopia #0069f4 ≈ 1.01% of males
Deuteranopia #0073eb ≈ 1.27% of males
Tritanopia #ad578d ≈ 0.0001% of males
Protanomaly #6153f2 ≈ 1.08% of males
Deuteranomaly #725bed ≈ 4.63% of males
Tritanomaly #b045bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b40def {
  color: #b40def;
}
Background
.bg-b40def {
  background-color: #b40def;
  color: #ffffff;
}
Border
.border-b40def {
  border: 2px solid #b40def;
}
CSS variables
:root {
  --color-primary: #b40def;
  --color-primary-rgb: 180 13 239;
  --color-primary-hsl: 284 90% 49%;
}
Gradient
.gradient-b40def {
  background: linear-gradient(135deg, #b40def, #ef0db9);
}
Colored shadow
.shadow-b40def {
  box-shadow: 0 8px 24px rgb(180 13 239 / 0.35);
}

Electric Purple
#b40def  rgb(180, 13, 239)  hsl(284, 90%, 49%)  Electric Purple
#48ef0d  rgb(72, 239, 13)  hsl(104, 90%, 49%)  Neon Green
#efb40d  rgb(239, 180, 13)  hsl(44, 90%, 49%)  Amber
#0defb4  rgb(13, 239, 180)  hsl(164, 90%, 49%)  Aquamarine