#BA08FB

#ba08fb ≈ Electric Purple

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

#ba08fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 3.14% green and 98.43% blue; printed in CMYK it uses 25.9% cyan, 96.81% magenta, 0% yellow and 1.57% black. Its hue angle is 283.95°, with 96.81% saturation and 50.78% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.96.

Description generated from the measured properties of this color.

Conversions of #ba08fb 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.1758

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #955cba ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0077f7 ≈ 1.27% of males
Tritanopia #b25c94 ≈ 0.0001% of males
Protanomaly #6356fe ≈ 1.08% of males
Deuteranomaly #745ef9 ≈ 4.63% of males
Tritanomaly #b548c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba08fb {
  color: #ba08fb;
}
Background
.bg-ba08fb {
  background-color: #ba08fb;
  color: #ffffff;
}
Border
.border-ba08fb {
  border: 2px solid #ba08fb;
}
CSS variables
:root {
  --color-primary: #ba08fb;
  --color-primary-rgb: 186 8 251;
  --color-primary-hsl: 284 97% 51%;
}
Gradient
.gradient-ba08fb {
  background: linear-gradient(135deg, #ba08fb, #fb08c2);
}
Colored shadow
.shadow-ba08fb {
  box-shadow: 0 8px 24px rgb(186 8 251 / 0.35);
}

Electric Purple
#ba08fb  rgb(186, 8, 251)  hsl(284, 97%, 51%)  Electric Purple
#49fb08  rgb(73, 251, 8)  hsl(104, 97%, 51%)  Harlequin
#fbba08  rgb(251, 186, 8)  hsl(44, 97%, 51%)  Amber
#08fbba  rgb(8, 251, 186)  hsl(164, 97%, 51%)  Medium Spring Green