#BA2BF2

#ba2bf2 ≈ Electric Purple

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

#ba2bf2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 16.86% green and 94.9% blue; printed in CMYK it uses 23.14% cyan, 82.23% magenta, 0% yellow and 5.1% black. Its hue angle is 283.12°, with 88.44% saturation and 55.88% 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.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.

Description generated from the measured properties of this color.

Conversions of #ba2bf2 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.1858

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9762b6 ≈ 0.001% of males
Protanopia #0070f7 ≈ 1.01% of males
Deuteranopia #007aee ≈ 1.27% of males
Tritanopia #b45f92 ≈ 0.0001% of males
Protanomaly #6b5cf5 ≈ 1.08% of males
Deuteranomaly #7a64f0 ≈ 4.63% of males
Tritanomaly #b64fc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2bf2 {
  color: #ba2bf2;
}
Background
.bg-ba2bf2 {
  background-color: #ba2bf2;
  color: #000000;
}
Border
.border-ba2bf2 {
  border: 2px solid #ba2bf2;
}
CSS variables
:root {
  --color-primary: #ba2bf2;
  --color-primary-rgb: 186 43 242;
  --color-primary-hsl: 283 88% 56%;
}
Gradient
.gradient-ba2bf2 {
  background: linear-gradient(135deg, #ba2bf2, #f22bc6);
}
Colored shadow
.shadow-ba2bf2 {
  box-shadow: 0 8px 24px rgb(186 43 242 / 0.35);
}

Electric Purple
#ba2bf2  rgb(186, 43, 242)  hsl(283, 88%, 56%)  Electric Purple
#63f22b  rgb(99, 242, 43)  hsl(103, 88%, 56%)  Harlequin
#f2ba2b  rgb(242, 186, 43)  hsl(43, 88%, 56%)  Amber
#2bf2ba  rgb(43, 242, 186)  hsl(163, 88%, 56%)  Aquamarine