#ba32df
a balanced, vivid violet · warm · closest name: magenta
RGB
186, 50, 223
HSL
287°, 73%, 54%
CMYK
17, 78, 0, 13
Luminance
0.1805
Every format
| HEX | #ba32df |
| RGB | rgb(186, 50, 223) |
| HSL | hsl(287, 73%, 54%) |
| CMYK | cmyk(17%, 78%, 0%, 13%) |
| LAB | lab(49.6 74.8 -60.8) |
| LCH | lch(49.6 96.4 320.9) |
| OKLCH | oklch(0.599 0.254 317.7) |
Copy-ready code
/* CSS */
color: #ba32df;
background-color: #ba32df;
/* Tailwind (arbitrary) */
class="text-[#ba32df] bg-[#ba32df]"
/* SCSS */
$brand: #ba32df;
/* SwiftUI */
Color(red: 0.729, green: 0.196, blue: 0.875)
/* Android */
Color.parseColor("#ba32df")Accessibility — WCAG contrast
Aa
#ba32df on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba32df on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green19.6%
Blue87.5%
CMYK percentages
Cyan16.6%
Magenta77.6%
Yellow0.0%
Key (black)12.5%
Color previews
#ba32df text on a black background
contrast 4.61:1
Card sample
#ba32df text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba32df;
Background color
Panel with #ba32df background
background-color: #ba32df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba32df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 50, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 50, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba32df; background: linear-gradient(135deg, #ba32df, #DF3291);