#BA22EB

#ba22eb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#ba22eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 13.33% green and 92.16% blue; printed in CMYK it uses 20.85% cyan, 85.53% magenta, 0% yellow and 7.84% black. Its hue angle is 285.37°, with 83.4% saturation and 52.75% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #ba22eb 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.1758

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #955eb1 ≈ 0.001% of males
Protanopia #006cf0 ≈ 1.01% of males
Deuteranopia #0f78e7 ≈ 1.27% of males
Tritanopia #b6598d ≈ 0.0001% of males
Protanomaly #6c58ee ≈ 1.08% of males
Deuteranomaly #7b61e9 ≈ 4.63% of males
Tritanomaly #b849ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba22eb {
  color: #ba22eb;
}
Background
.bg-ba22eb {
  background-color: #ba22eb;
  color: #ffffff;
}
Border
.border-ba22eb {
  border: 2px solid #ba22eb;
}
CSS variables
:root {
  --color-primary: #ba22eb;
  --color-primary-rgb: 186 34 235;
  --color-primary-hsl: 285 83% 53%;
}
Gradient
.gradient-ba22eb {
  background: linear-gradient(135deg, #ba22eb, #eb22b8);
}
Colored shadow
.shadow-ba22eb {
  box-shadow: 0 8px 24px rgb(186 34 235 / 0.35);
}

Electric Purple
#ba22eb  rgb(186, 34, 235)  hsl(285, 83%, 53%)  Electric Purple
#53eb22  rgb(83, 235, 34)  hsl(105, 83%, 53%)  Neon Green
#ebba22  rgb(235, 186, 34)  hsl(45, 83%, 53%)  Meat Brown
#22ebba  rgb(34, 235, 186)  hsl(165, 83%, 53%)  Aquamarine