#BA2BF4

#ba2bf4 ≈ Electric Purple

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

#ba2bf4 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.86% green and 95.69% blue; printed in CMYK it uses 23.77% cyan, 82.38% magenta, 0% yellow and 4.31% black. Its hue angle is 282.69°, with 90.13% saturation and 56.27% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.89.

Description generated from the measured properties of this color.

Conversions of #ba2bf4 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.187

Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9762b7 ≈ 0.001% of males
Protanopia #0071f9 ≈ 1.01% of males
Deuteranopia #007bf0 ≈ 1.27% of males
Tritanopia #b36094 ≈ 0.0001% of males
Protanomaly #6a5df7 ≈ 1.08% of males
Deuteranomaly #7a64f2 ≈ 4.63% of males
Tritanomaly #b650c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2bf4 {
  color: #ba2bf4;
}
Background
.bg-ba2bf4 {
  background-color: #ba2bf4;
  color: #000000;
}
Border
.border-ba2bf4 {
  border: 2px solid #ba2bf4;
}
CSS variables
:root {
  --color-primary: #ba2bf4;
  --color-primary-rgb: 186 43 244;
  --color-primary-hsl: 283 90% 56%;
}
Gradient
.gradient-ba2bf4 {
  background: linear-gradient(135deg, #ba2bf4, #f42bc9);
}
Colored shadow
.shadow-ba2bf4 {
  box-shadow: 0 8px 24px rgb(186 43 244 / 0.35);
}

Electric Purple
#ba2bf4  rgb(186, 43, 244)  hsl(283, 90%, 56%)  Electric Purple
#65f42b  rgb(101, 244, 43)  hsl(103, 90%, 56%)  Harlequin
#f4ba2b  rgb(244, 186, 43)  hsl(43, 90%, 56%)  Amber
#2bf4ba  rgb(43, 244, 186)  hsl(163, 90%, 56%)  Aquamarine