#BA0DFD

#ba0dfd ≈ Electric Purple

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

#ba0dfd 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 99.22% blue; printed in CMYK it uses 26.48% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 283.25°, with 98.36% saturation and 52.16% 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.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.77.

Description generated from the measured properties of this color.

Conversions of #ba0dfd 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.1782

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #965dbb ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0078f9 ≈ 1.27% of males
Tritanopia #b15d96 ≈ 0.0001% of males
Protanomaly #6257ff ≈ 1.08% of males
Deuteranomaly #735ffb ≈ 4.63% of males
Tritanomaly #b54ac8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba0dfd {
  color: #ba0dfd;
}
Background
.bg-ba0dfd {
  background-color: #ba0dfd;
  color: #ffffff;
}
Border
.border-ba0dfd {
  border: 2px solid #ba0dfd;
}
CSS variables
:root {
  --color-primary: #ba0dfd;
  --color-primary-rgb: 186 13 253;
  --color-primary-hsl: 283 98% 52%;
}
Gradient
.gradient-ba0dfd {
  background: linear-gradient(135deg, #ba0dfd, #fd0dc8);
}
Colored shadow
.shadow-ba0dfd {
  box-shadow: 0 8px 24px rgb(186 13 253 / 0.35);
}

Electric Purple
#ba0dfd  rgb(186, 13, 253)  hsl(283, 98%, 52%)  Electric Purple
#50fd0d  rgb(80, 253, 13)  hsl(103, 98%, 52%)  Harlequin
#fdba0d  rgb(253, 186, 13)  hsl(43, 98%, 52%)  Amber
#0dfdba  rgb(13, 253, 186)  hsl(163, 98%, 52%)  Medium Spring Green