#BA1DFE

#ba1dfe ≈ Electric Purple

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

#ba1dfe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 11.37% green and 99.61% blue; printed in CMYK it uses 26.77% cyan, 88.58% magenta, 0% yellow and 0.39% black. Its hue angle is 281.87°, with 99.12% saturation and 55.49% 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 4.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.93.

Description generated from the measured properties of this color.

Conversions of #ba1dfe 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.1847

Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9760bd ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #0079fa ≈ 1.27% of males
Tritanopia #b16198 ≈ 0.0001% of males
Protanomaly #645bff ≈ 1.08% of males
Deuteranomaly #7461fc ≈ 4.63% of males
Tritanomaly #b54ec9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba1dfe {
  color: #ba1dfe;
}
Background
.bg-ba1dfe {
  background-color: #ba1dfe;
  color: #000000;
}
Border
.border-ba1dfe {
  border: 2px solid #ba1dfe;
}
CSS variables
:root {
  --color-primary: #ba1dfe;
  --color-primary-rgb: 186 29 254;
  --color-primary-hsl: 282 99% 55%;
}
Gradient
.gradient-ba1dfe {
  background: linear-gradient(135deg, #ba1dfe, #fe1dd1);
}
Colored shadow
.shadow-ba1dfe {
  box-shadow: 0 8px 24px rgb(186 29 254 / 0.35);
}

Electric Purple
#ba1dfe  rgb(186, 29, 254)  hsl(282, 99%, 55%)  Electric Purple
#61fe1d  rgb(97, 254, 29)  hsl(102, 99%, 55%)  Harlequin
#feba1d  rgb(254, 186, 29)  hsl(42, 99%, 55%)  Amber
#1dfeba  rgb(29, 254, 186)  hsl(162, 99%, 55%)  Medium Spring Green