#BA1FFB

#ba1ffb ≈ Electric Purple

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

#ba1ffb 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.16% green and 98.43% blue; printed in CMYK it uses 25.9% cyan, 87.65% magenta, 0% yellow and 1.57% black. Its hue angle is 282.27°, with 96.49% 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.68:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.98.

Description generated from the measured properties of this color.

Conversions of #ba1ffb 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.1838

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

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9660bb ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #0079f7 ≈ 1.27% of males
Tritanopia #b26096 ≈ 0.0001% of males
Protanomaly #655afe ≈ 1.08% of males
Deuteranomaly #7662f9 ≈ 4.63% of males
Tritanomaly #b54ec7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba1ffb  rgb(186, 31, 251)  hsl(282, 96%, 55%)  Electric Purple
#60fb1f  rgb(96, 251, 31)  hsl(102, 96%, 55%)  Harlequin
#fbba1f  rgb(251, 186, 31)  hsl(42, 96%, 55%)  Amber
#1ffbba  rgb(31, 251, 186)  hsl(162, 96%, 55%)  Medium Spring Green