#BA12FA

#ba12fa ≈ Electric Purple

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

#ba12fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 7.06% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 92.8% magenta, 0% yellow and 1.96% black. Its hue angle is 283.45°, with 95.87% saturation and 52.55% 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. White text on this color reaches a contrast ratio of 4.61:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.87.

Description generated from the measured properties of this color.

Conversions of #ba12fa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1777

Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #965dba ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0078f6 ≈ 1.27% of males
Tritanopia #b25c94 ≈ 0.0001% of males
Protanomaly #6457fd ≈ 1.08% of males
Deuteranomaly #755ff8 ≈ 4.63% of males
Tritanomaly #b549c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba12fa {
  color: #ba12fa;
}
Background
.bg-ba12fa {
  background-color: #ba12fa;
  color: #ffffff;
}
Border
.border-ba12fa {
  border: 2px solid #ba12fa;
}
CSS variables
:root {
  --color-primary: #ba12fa;
  --color-primary-rgb: 186 18 250;
  --color-primary-hsl: 283 96% 53%;
}
Gradient
.gradient-ba12fa {
  background: linear-gradient(135deg, #ba12fa, #fa12c6);
}
Colored shadow
.shadow-ba12fa {
  box-shadow: 0 8px 24px rgb(186 18 250 / 0.35);
}

Electric Purple
#ba12fa  rgb(186, 18, 250)  hsl(283, 96%, 53%)  Electric Purple
#52fa12  rgb(82, 250, 18)  hsl(103, 96%, 53%)  Harlequin
#faba12  rgb(250, 186, 18)  hsl(43, 96%, 53%)  Amber
#12faba  rgb(18, 250, 186)  hsl(163, 96%, 53%)  Medium Spring Green