#BA0DE2

#ba0de2 ≈ Electric Purple

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

#ba0de2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 5.1% green and 88.63% blue; printed in CMYK it uses 17.7% cyan, 94.25% magenta, 0% yellow and 11.37% black. Its hue angle is 288.73°, with 89.12% saturation and 46.86% 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.86.

Description generated from the measured properties of this color.

Conversions of #ba0de2 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.1622

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 #9359aa ≈ 0.001% of males
Protanopia #0067e7 ≈ 1.01% of males
Deuteranopia #1a75de ≈ 1.27% of males
Tritanopia #b84f85 ≈ 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-ba0de2 {
  color: #ba0de2;
}
Background
.bg-ba0de2 {
  background-color: #ba0de2;
  color: #ffffff;
}
Border
.border-ba0de2 {
  border: 2px solid #ba0de2;
}
CSS variables
:root {
  --color-primary: #ba0de2;
  --color-primary-rgb: 186 13 226;
  --color-primary-hsl: 289 89% 47%;
}
Gradient
.gradient-ba0de2 {
  background: linear-gradient(135deg, #ba0de2, #e20d9f);
}
Colored shadow
.shadow-ba0de2 {
  box-shadow: 0 8px 24px rgb(186 13 226 / 0.35);
}

Electric Purple
#ba0de2  rgb(186, 13, 226)  hsl(289, 89%, 47%)  Electric Purple
#35e20d  rgb(53, 226, 13)  hsl(109, 89%, 47%)  Lime Green
#e2ba0d  rgb(226, 186, 13)  hsl(49, 89%, 47%)  Saffron
#0de2ba  rgb(13, 226, 186)  hsl(169, 89%, 47%)  Caribbean Green