#BA0DEC

#ba0dec ≈ Electric Purple

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

#ba0dec 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 92.55% blue; printed in CMYK it uses 21.19% cyan, 94.49% magenta, 0% yellow and 7.45% black. Its hue angle is 286.55°, with 89.56% saturation and 48.82% 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.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.54.

Description generated from the measured properties of this color.

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

Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #945ab0 ≈ 0.001% of males
Protanopia #0069f1 ≈ 1.01% of males
Deuteranopia #0076e8 ≈ 1.27% of males
Tritanopia #b6548b ≈ 0.0001% of males
Protanomaly #6953ef ≈ 1.08% of males
Deuteranomaly #795dea ≈ 4.63% of males
Tritanomaly #b742ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba0dec {
  color: #ba0dec;
}
Background
.bg-ba0dec {
  background-color: #ba0dec;
  color: #ffffff;
}
Border
.border-ba0dec {
  border: 2px solid #ba0dec;
}
CSS variables
:root {
  --color-primary: #ba0dec;
  --color-primary-rgb: 186 13 236;
  --color-primary-hsl: 287 90% 49%;
}
Gradient
.gradient-ba0dec {
  background: linear-gradient(135deg, #ba0dec, #ec0dae);
}
Colored shadow
.shadow-ba0dec {
  box-shadow: 0 8px 24px rgb(186 13 236 / 0.35);
}

Electric Purple
#ba0dec  rgb(186, 13, 236)  hsl(287, 90%, 49%)  Electric Purple
#3fec0d  rgb(63, 236, 13)  hsl(107, 90%, 49%)  Neon Green
#ecba0d  rgb(236, 186, 13)  hsl(47, 90%, 49%)  Saffron
#0decba  rgb(13, 236, 186)  hsl(167, 90%, 49%)  Aquamarine