#BA45F8

#ba45f8 ≈ Electric Purple

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

#ba45f8 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 97.25% blue; printed in CMYK it uses 25% cyan, 72.18% magenta, 0% yellow and 2.75% black. Its hue angle is 279.22°, with 92.75% saturation and 62.16% 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.29:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #ba45f8 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.2147

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #9a6dbc ≈ 0.001% of males
Protanopia #007afd ≈ 1.01% of males
Deuteranopia #2482f4 ≈ 1.27% of males
Tritanopia #b26e9b ≈ 0.0001% of males
Protanomaly #7069fb ≈ 1.08% of males
Deuteranomaly #7e6ef6 ≈ 4.63% of males
Tritanomaly #b560c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba45f8 {
  color: #ba45f8;
}
Background
.bg-ba45f8 {
  background-color: #ba45f8;
  color: #000000;
}
Border
.border-ba45f8 {
  border: 2px solid #ba45f8;
}
CSS variables
:root {
  --color-primary: #ba45f8;
  --color-primary-rgb: 186 69 248;
  --color-primary-hsl: 279 93% 62%;
}
Gradient
.gradient-ba45f8 {
  background: linear-gradient(135deg, #ba45f8, #f845dc);
}
Colored shadow
.shadow-ba45f8 {
  box-shadow: 0 8px 24px rgb(186 69 248 / 0.35);
}

Electric Purple
#ba45f8  rgb(186, 69, 248)  hsl(279, 93%, 62%)  Electric Purple
#83f845  rgb(131, 248, 69)  hsl(99, 93%, 62%)  Lawn Green
#f8ba45  rgb(248, 186, 69)  hsl(39, 93%, 62%)  Pastel Orange
#45f8ba  rgb(69, 248, 186)  hsl(159, 93%, 62%)  Aquamarine