#BA2DF3

#ba2df3 ≈ Electric Purple

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

#ba2df3 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 17.65% green and 95.29% blue; printed in CMYK it uses 23.46% cyan, 81.48% magenta, 0% yellow and 4.71% black. Its hue angle is 282.73°, with 89.19% saturation and 56.47% 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.76:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.08.

Description generated from the measured properties of this color.

Conversions of #ba2df3 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.1879

Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #9762b7 ≈ 0.001% of males
Protanopia #0071f8 ≈ 1.01% of males
Deuteranopia #007bef ≈ 1.27% of males
Tritanopia #b46093 ≈ 0.0001% of males
Protanomaly #6b5df6 ≈ 1.08% of males
Deuteranomaly #7a65f1 ≈ 4.63% of males
Tritanomaly #b651c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba2df3  rgb(186, 45, 243)  hsl(283, 89%, 56%)  Electric Purple
#66f32d  rgb(102, 243, 45)  hsl(103, 89%, 56%)  Harlequin
#f3ba2d  rgb(243, 186, 45)  hsl(43, 89%, 56%)  Amber
#2df3ba  rgb(45, 243, 186)  hsl(163, 89%, 56%)  Aquamarine