#BA2DFE

#ba2dfe ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ba2dfe 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.1947

Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #9864be ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #007cfa ≈ 1.27% of males
Tritanopia #b1669a ≈ 0.0001% of males
Protanomaly #675fff ≈ 1.08% of males
Deuteranomaly #7666fc ≈ 4.63% of males
Tritanomaly #b455ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba2dfe  rgb(186, 45, 254)  hsl(280, 99%, 59%)  Electric Purple
#71fe2d  rgb(113, 254, 45)  hsl(100, 99%, 59%)  Lawn Green
#feba2d  rgb(254, 186, 45)  hsl(40, 99%, 59%)  Amber
#2dfeba  rgb(45, 254, 186)  hsl(160, 99%, 59%)  Medium Spring Green