#BA2CD6

#ba2cd6 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ba2cd6 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.25% green and 83.92% blue; printed in CMYK it uses 13.08% cyan, 79.44% magenta, 0% yellow and 16.08% black. Its hue angle is 290.12°, with 67.46% saturation and 50.59% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.23.

Description generated from the measured properties of this color.

Conversions of #ba2cd6 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.171

Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #955ea4 ≈ 0.001% of males
Protanopia #006ada ≈ 1.01% of males
Deuteranopia #3e78d2 ≈ 1.27% of males
Tritanopia #bb5282 ≈ 0.0001% of males
Protanomaly #7457d9 ≈ 1.08% of males
Deuteranomaly #8362d4 ≈ 4.63% of males
Tritanomaly #ba46aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2cd6 {
  color: #ba2cd6;
}
Background
.bg-ba2cd6 {
  background-color: #ba2cd6;
  color: #ffffff;
}
Border
.border-ba2cd6 {
  border: 2px solid #ba2cd6;
}
CSS variables
:root {
  --color-primary: #ba2cd6;
  --color-primary-rgb: 186 44 214;
  --color-primary-hsl: 290 67% 51%;
}
Gradient
.gradient-ba2cd6 {
  background: linear-gradient(135deg, #ba2cd6, #d62c9d);
}
Colored shadow
.shadow-ba2cd6 {
  box-shadow: 0 8px 24px rgb(186 44 214 / 0.35);
}

Electric Purple
#ba2cd6  rgb(186, 44, 214)  hsl(290, 67%, 51%)  Electric Purple
#48d62c  rgb(72, 214, 44)  hsl(110, 67%, 51%)  Lime Green
#d6ba2c  rgb(214, 186, 44)  hsl(50, 67%, 51%)  Old Gold
#2cd6ba  rgb(44, 214, 186)  hsl(170, 67%, 51%)  Turquoise