#BA2CF5

#ba2cf5 ≈ Electric Purple

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

#ba2cf5 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.25% green and 96.08% blue; printed in CMYK it uses 24.08% cyan, 82.04% magenta, 0% yellow and 3.92% black. Its hue angle is 282.39°, with 90.95% saturation and 56.67% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #ba2cf5 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.1883

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9762b8 ≈ 0.001% of males
Protanopia #0071fa ≈ 1.01% of males
Deuteranopia #007bf1 ≈ 1.27% of males
Tritanopia #b36194 ≈ 0.0001% of males
Protanomaly #6a5df8 ≈ 1.08% of males
Deuteranomaly #7964f3 ≈ 4.63% of males
Tritanomaly #b651c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2cf5 {
  color: #ba2cf5;
}
Background
.bg-ba2cf5 {
  background-color: #ba2cf5;
  color: #000000;
}
Border
.border-ba2cf5 {
  border: 2px solid #ba2cf5;
}
CSS variables
:root {
  --color-primary: #ba2cf5;
  --color-primary-rgb: 186 44 245;
  --color-primary-hsl: 282 91% 57%;
}
Gradient
.gradient-ba2cf5 {
  background: linear-gradient(135deg, #ba2cf5, #f52ccb);
}
Colored shadow
.shadow-ba2cf5 {
  box-shadow: 0 8px 24px rgb(186 44 245 / 0.35);
}

Electric Purple
#ba2cf5  rgb(186, 44, 245)  hsl(282, 91%, 57%)  Electric Purple
#67f52c  rgb(103, 245, 44)  hsl(102, 91%, 57%)  Harlequin
#f5ba2c  rgb(245, 186, 44)  hsl(42, 91%, 57%)  Amber
#2cf5ba  rgb(44, 245, 186)  hsl(162, 91%, 57%)  Aquamarine