#BA2FED

#ba2fed ≈ Electric Purple

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

#ba2fed is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 92.94% blue; printed in CMYK it uses 21.52% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 283.89°, with 84.07% saturation and 55.69% 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.61.

Description generated from the measured properties of this color.

Conversions of #ba2fed 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.1859

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 #9762b3 ≈ 0.001% of males
Protanopia #0070f2 ≈ 1.01% of males
Deuteranopia #1c7be9 ≈ 1.27% of males
Tritanopia #b55e90 ≈ 0.0001% of males
Protanomaly #6e5df0 ≈ 1.08% of males
Deuteranomaly #7d65eb ≈ 4.63% of males
Tritanomaly #b74fbd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ba2fed  rgb(186, 47, 237)  hsl(284, 84%, 56%)  Electric Purple
#62ed2f  rgb(98, 237, 47)  hsl(104, 84%, 56%)  Neon Green
#edba2f  rgb(237, 186, 47)  hsl(44, 84%, 56%)  Meat Brown
#2fedba  rgb(47, 237, 186)  hsl(164, 84%, 56%)  Aquamarine