#BA07DB

#ba07db ≈ Electric Purple

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

#ba07db is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 2.75% green and 85.88% blue; printed in CMYK it uses 15.07% cyan, 96.8% magenta, 0% yellow and 14.12% black. Its hue angle is 290.66°, with 93.81% saturation and 44.31% 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 5.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.89.

Description generated from the measured properties of this color.

Conversions of #ba07db 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.1571

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9357a5 ≈ 0.001% of males
Protanopia #0064e0 ≈ 1.01% of males
Deuteranopia #2773d7 ≈ 1.27% of males
Tritanopia #ba4a81 ≈ 0.0001% of males
Protanomaly #6e4fde ≈ 1.08% of males
Deuteranomaly #7e5bd9 ≈ 4.63% of males
Tritanomaly #ba3aac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba07db {
  color: #ba07db;
}
Background
.bg-ba07db {
  background-color: #ba07db;
  color: #ffffff;
}
Border
.border-ba07db {
  border: 2px solid #ba07db;
}
CSS variables
:root {
  --color-primary: #ba07db;
  --color-primary-rgb: 186 7 219;
  --color-primary-hsl: 291 94% 44%;
}
Gradient
.gradient-ba07db {
  background: linear-gradient(135deg, #ba07db, #db0792);
}
Colored shadow
.shadow-ba07db {
  box-shadow: 0 8px 24px rgb(186 7 219 / 0.35);
}

Electric Purple
#ba07db  rgb(186, 7, 219)  hsl(291, 94%, 44%)  Electric Purple
#28db07  rgb(40, 219, 7)  hsl(111, 94%, 44%)  Lime Green
#dbba07  rgb(219, 186, 7)  hsl(51, 94%, 44%)  Old Gold
#07dbba  rgb(7, 219, 186)  hsl(171, 94%, 44%)  Turquoise