#BA26FF

#ba26ff ≈ Electric Purple

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

#ba26ff 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 100% blue; printed in CMYK it uses 27.06% cyan, 85.1% magenta, 0% yellow and 0% black. Its hue angle is 280.92°, with 100% saturation and 57.45% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.54.

Description generated from the measured properties of this color.

Conversions of #ba26ff 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.1905

Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9762be ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #007bfb ≈ 1.27% of males
Tritanopia #b06499 ≈ 0.0001% of males
Protanomaly #655dff ≈ 1.08% of males
Deuteranomaly #7564fd ≈ 4.63% of males
Tritanomaly #b452ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba26ff {
  color: #ba26ff;
}
Background
.bg-ba26ff {
  background-color: #ba26ff;
  color: #000000;
}
Border
.border-ba26ff {
  border: 2px solid #ba26ff;
}
CSS variables
:root {
  --color-primary: #ba26ff;
  --color-primary-rgb: 186 38 255;
  --color-primary-hsl: 281 100% 57%;
}
Gradient
.gradient-ba26ff {
  background: linear-gradient(135deg, #ba26ff, #ff26d8);
}
Colored shadow
.shadow-ba26ff {
  box-shadow: 0 8px 24px rgb(186 38 255 / 0.35);
}

Electric Purple
#ba26ff  rgb(186, 38, 255)  hsl(281, 100%, 57%)  Electric Purple
#6bff26  rgb(107, 255, 38)  hsl(101, 100%, 57%)  Harlequin
#ffba26  rgb(255, 186, 38)  hsl(41, 100%, 57%)  Amber
#26ffba  rgb(38, 255, 186)  hsl(161, 100%, 57%)  Medium Spring Green