#BA0DF4

#ba0df4 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ba0df4 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 95.69% blue; printed in CMYK it uses 23.77% cyan, 94.67% magenta, 0% yellow and 4.31% black. Its hue angle is 284.94°, with 91.3% saturation and 50.39% lightness in HSL. It is a cool color, 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.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.56.

Description generated from the measured properties of this color.

Conversions of #ba0df4 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.1726

Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #955bb6 ≈ 0.001% of males
Protanopia #006cf9 ≈ 1.01% of males
Deuteranopia #0077f0 ≈ 1.27% of males
Tritanopia #b45990 ≈ 0.0001% of males
Protanomaly #6655f7 ≈ 1.08% of males
Deuteranomaly #775ef2 ≈ 4.63% of males
Tritanomaly #b646c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba0df4 {
  color: #ba0df4;
}
Background
.bg-ba0df4 {
  background-color: #ba0df4;
  color: #ffffff;
}
Border
.border-ba0df4 {
  border: 2px solid #ba0df4;
}
CSS variables
:root {
  --color-primary: #ba0df4;
  --color-primary-rgb: 186 13 244;
  --color-primary-hsl: 285 91% 50%;
}
Gradient
.gradient-ba0df4 {
  background: linear-gradient(135deg, #ba0df4, #f40dba);
}
Colored shadow
.shadow-ba0df4 {
  box-shadow: 0 8px 24px rgb(186 13 244 / 0.35);
}

Electric Purple
#ba0df4  rgb(186, 13, 244)  hsl(285, 91%, 50%)  Electric Purple
#47f40d  rgb(71, 244, 13)  hsl(105, 91%, 50%)  Harlequin
#f4ba0d  rgb(244, 186, 13)  hsl(45, 91%, 50%)  Amber
#0df4ba  rgb(13, 244, 186)  hsl(165, 91%, 50%)  Aquamarine