#b32cfb
a balanced, electric violet · warm · closest name: magenta
RGB
179, 44, 251
HSL
279°, 96%, 58%
CMYK
29, 83, 0, 2
Luminance
0.1835
Every format
| HEX | #b32cfb |
| RGB | rgb(179, 44, 251) |
| HSL | hsl(279, 96%, 58%) |
| CMYK | cmyk(29%, 83%, 0%, 2%) |
| LAB | lab(49.9 80.6 -76.0) |
| LCH | lch(49.9 110.8 316.7) |
| OKLCH | oklch(0.605 0.280 309.5) |
Copy-ready code
/* CSS */
color: #b32cfb;
background-color: #b32cfb;
/* Tailwind (arbitrary) */
class="text-[#b32cfb] bg-[#b32cfb]"
/* SCSS */
$brand: #b32cfb;
/* SwiftUI */
Color(red: 0.702, green: 0.173, blue: 0.984)
/* Android */
Color.parseColor("#b32cfb")Accessibility — WCAG contrast
Aa
#b32cfb on white: 4.50:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b32cfb on black: 4.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green17.3%
Blue98.4%
CMYK percentages
Cyan28.7%
Magenta82.5%
Yellow0.0%
Key (black)1.6%
Color previews
#b32cfb text on a black background
contrast 4.67:1
Card sample
#b32cfb text on a white background
contrast 4.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b32cfb;
Background color
Panel with #b32cfb background
background-color: #b32cfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b32cfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b32cfb; background: linear-gradient(135deg, #b32cfb, #FB2CB9);