#BA45FC

#ba45fc ≈ Electric Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#ba45fc is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 72.94% red, 27.06% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 72.62% magenta, 0% yellow and 1.18% black. Its hue angle is 278.36°, with 96.83% saturation and 62.94% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.34:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.02.

Description generated from the measured properties of this color.

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

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #9b6dbf ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #1982f8 ≈ 1.27% of males
Tritanopia #b1709d ≈ 0.0001% of males
Protanomaly #6f6aff ≈ 1.08% of males
Deuteranomaly #7c6ffa ≈ 4.63% of males
Tritanomaly #b461ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba45fc {
  color: #ba45fc;
}
Background
.bg-ba45fc {
  background-color: #ba45fc;
  color: #000000;
}
Border
.border-ba45fc {
  border: 2px solid #ba45fc;
}
CSS variables
:root {
  --color-primary: #ba45fc;
  --color-primary-rgb: 186 69 252;
  --color-primary-hsl: 278 97% 63%;
}
Gradient
.gradient-ba45fc {
  background: linear-gradient(135deg, #ba45fc, #fc45e3);
}
Colored shadow
.shadow-ba45fc {
  box-shadow: 0 8px 24px rgb(186 69 252 / 0.35);
}

Electric Purple
#ba45fc  rgb(186, 69, 252)  hsl(278, 97%, 63%)  Electric Purple
#87fc45  rgb(135, 252, 69)  hsl(98, 97%, 63%)  Lawn Green
#fcba45  rgb(252, 186, 69)  hsl(38, 97%, 63%)  Pastel Orange
#45fcba  rgb(69, 252, 186)  hsl(158, 97%, 63%)  Medium Spring Green