#BD40F2

#bd40f2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#bd40f2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 74.12% red, 25.1% green and 94.9% blue; printed in CMYK it uses 21.9% cyan, 73.55% magenta, 0% yellow and 5.1% black. Its hue angle is 282.13°, with 87.25% saturation and 60% 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. Black text on this color reaches a contrast ratio of 5.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.41.

Description generated from the measured properties of this color.

Conversions of #bd40f2 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.209

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #9b6bb8 ≈ 0.001% of males
Protanopia #0078f7 ≈ 1.01% of males
Deuteranopia #2f81ee ≈ 1.27% of males
Tritanopia #b76897 ≈ 0.0001% of males
Protanomaly #7466f5 ≈ 1.08% of males
Deuteranomaly #816df0 ≈ 4.63% of males
Tritanomaly #ba5bc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bd40f2 {
  color: #bd40f2;
}
Background
.bg-bd40f2 {
  background-color: #bd40f2;
  color: #000000;
}
Border
.border-bd40f2 {
  border: 2px solid #bd40f2;
}
CSS variables
:root {
  --color-primary: #bd40f2;
  --color-primary-rgb: 189 64 242;
  --color-primary-hsl: 282 87% 60%;
}
Gradient
.gradient-bd40f2 {
  background: linear-gradient(135deg, #bd40f2, #f240ce);
}
Colored shadow
.shadow-bd40f2 {
  box-shadow: 0 8px 24px rgb(189 64 242 / 0.35);
}

Electric Purple
#bd40f2  rgb(189, 64, 242)  hsl(282, 87%, 60%)  Electric Purple
#75f240  rgb(117, 242, 64)  hsl(102, 87%, 60%)  Lawn Green
#f2bd40  rgb(242, 189, 64)  hsl(42, 87%, 60%)  Meat Brown
#40f2bd  rgb(64, 242, 189)  hsl(162, 87%, 60%)  Aquamarine