#BA2EF6

#ba2ef6 ≈ Electric Purple

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

#ba2ef6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 18.04% green and 96.47% blue; printed in CMYK it uses 24.39% cyan, 81.3% magenta, 0% yellow and 3.53% black. Its hue angle is 282°, with 91.74% saturation and 57.25% 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 2.07.

Description generated from the measured properties of this color.

Conversions of #ba2ef6 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 #9763b9 ≈ 0.001% of males
Protanopia #0072fb ≈ 1.01% of males
Deuteranopia #007bf2 ≈ 1.27% of males
Tritanopia #b36295 ≈ 0.0001% of males
Protanomaly #6a5ef9 ≈ 1.08% of males
Deuteranomaly #7965f4 ≈ 4.63% of males
Tritanomaly #b652c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2ef6 {
  color: #ba2ef6;
}
Background
.bg-ba2ef6 {
  background-color: #ba2ef6;
  color: #000000;
}
Border
.border-ba2ef6 {
  border: 2px solid #ba2ef6;
}
CSS variables
:root {
  --color-primary: #ba2ef6;
  --color-primary-rgb: 186 46 246;
  --color-primary-hsl: 282 92% 57%;
}
Gradient
.gradient-ba2ef6 {
  background: linear-gradient(135deg, #ba2ef6, #f62ece);
}
Colored shadow
.shadow-ba2ef6 {
  box-shadow: 0 8px 24px rgb(186 46 246 / 0.35);
}

Electric Purple
#ba2ef6  rgb(186, 46, 246)  hsl(282, 92%, 57%)  Electric Purple
#6af62e  rgb(106, 246, 46)  hsl(102, 92%, 57%)  Harlequin
#f6ba2e  rgb(246, 186, 46)  hsl(42, 92%, 57%)  Amber
#2ef6ba  rgb(46, 246, 186)  hsl(162, 92%, 57%)  Aquamarine