#BA2AEF

#ba2aef ≈ Electric Purple

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

#ba2aef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 16.47% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 283.86°, with 86.03% saturation and 55.1% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.17.

Description generated from the measured properties of this color.

Conversions of #ba2aef 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.1833

Readable text 4.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9661b4 ≈ 0.001% of males
Protanopia #006ff4 ≈ 1.01% of males
Deuteranopia #0c7aeb ≈ 1.27% of males
Tritanopia #b55d90 ≈ 0.0001% of males
Protanomaly #6c5bf2 ≈ 1.08% of males
Deuteranomaly #7b63ed ≈ 4.63% of males
Tritanomaly #b74ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2aef {
  color: #ba2aef;
}
Background
.bg-ba2aef {
  background-color: #ba2aef;
  color: #000000;
}
Border
.border-ba2aef {
  border: 2px solid #ba2aef;
}
CSS variables
:root {
  --color-primary: #ba2aef;
  --color-primary-rgb: 186 42 239;
  --color-primary-hsl: 284 86% 55%;
}
Gradient
.gradient-ba2aef {
  background: linear-gradient(135deg, #ba2aef, #ef2ac1);
}
Colored shadow
.shadow-ba2aef {
  box-shadow: 0 8px 24px rgb(186 42 239 / 0.35);
}

Electric Purple
#ba2aef  rgb(186, 42, 239)  hsl(284, 86%, 55%)  Electric Purple
#5fef2a  rgb(95, 239, 42)  hsl(104, 86%, 55%)  Neon Green
#efba2a  rgb(239, 186, 42)  hsl(44, 86%, 55%)  Meat Brown
#2aefba  rgb(42, 239, 186)  hsl(164, 86%, 55%)  Aquamarine