#BA2FE8

#ba2fe8 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ba2fe8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 90.98% blue; printed in CMYK it uses 19.83% cyan, 79.74% magenta, 0% yellow and 9.02% black. Its hue angle is 285.08°, with 80.09% saturation and 54.71% lightness in HSL. It sits between warm and cool, and is 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #ba2fe8 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.183

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9662b0 ≈ 0.001% of males
Protanopia #006fed ≈ 1.01% of males
Deuteranopia #287ae4 ≈ 1.27% of males
Tritanopia #b65c8d ≈ 0.0001% of males
Protanomaly #6f5ceb ≈ 1.08% of males
Deuteranomaly #7e64e6 ≈ 4.63% of males
Tritanomaly #b84eb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2fe8 {
  color: #ba2fe8;
}
Background
.bg-ba2fe8 {
  background-color: #ba2fe8;
  color: #000000;
}
Border
.border-ba2fe8 {
  border: 2px solid #ba2fe8;
}
CSS variables
:root {
  --color-primary: #ba2fe8;
  --color-primary-rgb: 186 47 232;
  --color-primary-hsl: 285 80% 55%;
}
Gradient
.gradient-ba2fe8 {
  background: linear-gradient(135deg, #ba2fe8, #e82fba);
}
Colored shadow
.shadow-ba2fe8 {
  box-shadow: 0 8px 24px rgb(186 47 232 / 0.35);
}

Electric Purple
#ba2fe8  rgb(186, 47, 232)  hsl(285, 80%, 55%)  Electric Purple
#5de82f  rgb(93, 232, 47)  hsl(105, 80%, 55%)  Neon Green
#e8ba2f  rgb(232, 186, 47)  hsl(45, 80%, 55%)  Meat Brown
#2fe8ba  rgb(47, 232, 186)  hsl(165, 80%, 55%)  Aquamarine