#BA1BFA

#ba1bfa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ba1bfa 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.1813

Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #965eba ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0079f6 ≈ 1.27% of males
Tritanopia #b25e95 ≈ 0.0001% of males
Protanomaly #6559fd ≈ 1.08% of males
Deuteranomaly #7661f8 ≈ 4.63% of males
Tritanomaly #b54cc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba1bfa  rgb(186, 27, 250)  hsl(283, 96%, 54%)  Electric Purple
#5bfa1b  rgb(91, 250, 27)  hsl(103, 96%, 54%)  Harlequin
#faba1b  rgb(250, 186, 27)  hsl(43, 96%, 54%)  Amber
#1bfaba  rgb(27, 250, 186)  hsl(163, 96%, 54%)  Medium Spring Green