#BA26FA

#ba26fa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ba26fa 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.1873

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

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9761bb ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #007af6 ≈ 1.27% of males
Tritanopia #b26196 ≈ 0.0001% of males
Protanomaly #675cfd ≈ 1.08% of males
Deuteranomaly #7763f8 ≈ 4.63% of males
Tritanomaly #b550c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba26fa  rgb(186, 38, 250)  hsl(282, 96%, 56%)  Electric Purple
#66fa26  rgb(102, 250, 38)  hsl(102, 96%, 56%)  Harlequin
#faba26  rgb(250, 186, 38)  hsl(42, 96%, 56%)  Amber
#26faba  rgb(38, 250, 186)  hsl(162, 96%, 56%)  Medium Spring Green