#b33ef1
a balanced, electric violet · warm · closest name: magenta
RGB
179, 62, 241
HSL
279°, 87%, 59%
CMYK
26, 74, 0, 6
Luminance
0.1938
Every format
| HEX | #b33ef1 |
| RGB | rgb(179, 62, 241) |
| HSL | hsl(279, 87%, 59%) |
| CMYK | cmyk(26%, 74%, 0%, 6%) |
| LAB | lab(51.1 73.0 -68.4) |
| LCH | lch(51.1 100.1 316.9) |
| OKLCH | oklch(0.611 0.256 310.7) |
Copy-ready code
/* CSS */
color: #b33ef1;
background-color: #b33ef1;
/* Tailwind (arbitrary) */
class="text-[#b33ef1] bg-[#b33ef1]"
/* SCSS */
$brand: #b33ef1;
/* SwiftUI */
Color(red: 0.702, green: 0.243, blue: 0.945)
/* Android */
Color.parseColor("#b33ef1")Accessibility — WCAG contrast
Aa
#b33ef1 on white: 4.31:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b33ef1 on black: 4.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green24.3%
Blue94.5%
CMYK percentages
Cyan25.7%
Magenta74.3%
Yellow0.0%
Key (black)5.5%
Color previews
#b33ef1 text on a black background
contrast 4.88:1
Card sample
#b33ef1 text on a white background
contrast 4.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b33ef1;
Background color
Panel with #b33ef1 background
background-color: #b33ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b33ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 62, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 62, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b33ef1; background: linear-gradient(135deg, #b33ef1, #F13EB8);