#BA20FA

#ba20fa ≈ Electric Purple

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

#ba20fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 12.55% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 282.39°, with 95.61% saturation and 55.29% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.04.

Description generated from the measured properties of this color.

Conversions of #ba20fa 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.1837

Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9660ba ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #0079f6 ≈ 1.27% of males
Tritanopia #b26096 ≈ 0.0001% of males
Protanomaly #665afd ≈ 1.08% of males
Deuteranomaly #7662f8 ≈ 4.63% of males
Tritanomaly #b54ec6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba20fa {
  color: #ba20fa;
}
Background
.bg-ba20fa {
  background-color: #ba20fa;
  color: #000000;
}
Border
.border-ba20fa {
  border: 2px solid #ba20fa;
}
CSS variables
:root {
  --color-primary: #ba20fa;
  --color-primary-rgb: 186 32 250;
  --color-primary-hsl: 282 96% 55%;
}
Gradient
.gradient-ba20fa {
  background: linear-gradient(135deg, #ba20fa, #fa20cd);
}
Colored shadow
.shadow-ba20fa {
  box-shadow: 0 8px 24px rgb(186 32 250 / 0.35);
}

Electric Purple
#ba20fa  rgb(186, 32, 250)  hsl(282, 96%, 55%)  Electric Purple
#60fa20  rgb(96, 250, 32)  hsl(102, 96%, 55%)  Harlequin
#faba20  rgb(250, 186, 32)  hsl(42, 96%, 55%)  Amber
#20faba  rgb(32, 250, 186)  hsl(162, 96%, 55%)  Medium Spring Green