#BA2FF9

#ba2ff9 ≈ Electric Purple

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

#ba2ff9 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 18.43% green and 97.65% blue; printed in CMYK it uses 25.3% cyan, 81.12% magenta, 0% yellow and 2.35% black. Its hue angle is 281.29°, with 94.39% saturation and 58.04% 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.15.

Description generated from the measured properties of this color.

Conversions of #ba2ff9 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.1931

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #9864bb ≈ 0.001% of males
Protanopia #0073fe ≈ 1.01% of males
Deuteranopia #007cf5 ≈ 1.27% of males
Tritanopia #b26497 ≈ 0.0001% of males
Protanomaly #6a5ffc ≈ 1.08% of males
Deuteranomaly #7966f7 ≈ 4.63% of males
Tritanomaly #b554c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2ff9 {
  color: #ba2ff9;
}
Background
.bg-ba2ff9 {
  background-color: #ba2ff9;
  color: #000000;
}
Border
.border-ba2ff9 {
  border: 2px solid #ba2ff9;
}
CSS variables
:root {
  --color-primary: #ba2ff9;
  --color-primary-rgb: 186 47 249;
  --color-primary-hsl: 281 94% 58%;
}
Gradient
.gradient-ba2ff9 {
  background: linear-gradient(135deg, #ba2ff9, #f92fd3);
}
Colored shadow
.shadow-ba2ff9 {
  box-shadow: 0 8px 24px rgb(186 47 249 / 0.35);
}

Electric Purple
#ba2ff9  rgb(186, 47, 249)  hsl(281, 94%, 58%)  Electric Purple
#6ef92f  rgb(110, 249, 47)  hsl(101, 94%, 58%)  Lawn Green
#f9ba2f  rgb(249, 186, 47)  hsl(41, 94%, 58%)  Amber
#2ff9ba  rgb(47, 249, 186)  hsl(161, 94%, 58%)  Aquamarine