#BA34EB

#ba34eb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#ba34eb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 20.39% green and 92.16% blue; printed in CMYK it uses 20.85% cyan, 77.87% magenta, 0% yellow and 7.84% black. Its hue angle is 283.93°, with 82.06% saturation and 56.27% 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #ba34eb 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.1889

Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9764b2 ≈ 0.001% of males
Protanopia #0071f0 ≈ 1.01% of males
Deuteranopia #277ce7 ≈ 1.27% of males
Tritanopia #b66090 ≈ 0.0001% of males
Protanomaly #705eee ≈ 1.08% of males
Deuteranomaly #7e66e9 ≈ 4.63% of males
Tritanomaly #b752bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba34eb {
  color: #ba34eb;
}
Background
.bg-ba34eb {
  background-color: #ba34eb;
  color: #000000;
}
Border
.border-ba34eb {
  border: 2px solid #ba34eb;
}
CSS variables
:root {
  --color-primary: #ba34eb;
  --color-primary-rgb: 186 52 235;
  --color-primary-hsl: 284 82% 56%;
}
Gradient
.gradient-ba34eb {
  background: linear-gradient(135deg, #ba34eb, #eb34c1);
}
Colored shadow
.shadow-ba34eb {
  box-shadow: 0 8px 24px rgb(186 52 235 / 0.35);
}

Electric Purple
#ba34eb  rgb(186, 52, 235)  hsl(284, 82%, 56%)  Electric Purple
#65eb34  rgb(101, 235, 52)  hsl(104, 82%, 56%)  Neon Green
#ebba34  rgb(235, 186, 52)  hsl(44, 82%, 56%)  Meat Brown
#34ebba  rgb(52, 235, 186)  hsl(164, 82%, 56%)  Aquamarine