#BA0CE2

#ba0ce2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#ba0ce2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 4.71% green and 88.63% blue; printed in CMYK it uses 17.7% cyan, 94.69% magenta, 0% yellow and 11.37% black. Its hue angle is 288.79°, with 89.92% saturation and 46.67% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.95:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.87.

Description generated from the measured properties of this color.

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

Readable text 4.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9358aa ≈ 0.001% of males
Protanopia #0067e7 ≈ 1.01% of males
Deuteranopia #1a74de ≈ 1.27% of males
Tritanopia #b84e85 ≈ 0.0001% of males
Protanomaly #6c51e5 ≈ 1.08% of males
Deuteranomaly #7c5ce0 ≈ 4.63% of males
Tritanomaly #b93eb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba0ce2 {
  color: #ba0ce2;
}
Background
.bg-ba0ce2 {
  background-color: #ba0ce2;
  color: #ffffff;
}
Border
.border-ba0ce2 {
  border: 2px solid #ba0ce2;
}
CSS variables
:root {
  --color-primary: #ba0ce2;
  --color-primary-rgb: 186 12 226;
  --color-primary-hsl: 289 90% 47%;
}
Gradient
.gradient-ba0ce2 {
  background: linear-gradient(135deg, #ba0ce2, #e20c9f);
}
Colored shadow
.shadow-ba0ce2 {
  box-shadow: 0 8px 24px rgb(186 12 226 / 0.35);
}

Electric Purple
#ba0ce2  rgb(186, 12, 226)  hsl(289, 90%, 47%)  Electric Purple
#34e20c  rgb(52, 226, 12)  hsl(109, 90%, 47%)  Lime Green
#e2ba0c  rgb(226, 186, 12)  hsl(49, 90%, 47%)  Saffron
#0ce2ba  rgb(12, 226, 186)  hsl(169, 90%, 47%)  Caribbean Green