#b33afd
a balanced, electric violet · warm · closest name: magenta
RGB
179, 58, 253
HSL
277°, 98%, 61%
CMYK
29, 77, 0, 1
Luminance
0.1970
Every format
| HEX | #b33afd |
| RGB | rgb(179, 58, 253) |
| HSL | hsl(277, 98%, 61%) |
| CMYK | cmyk(29%, 77%, 0%, 1%) |
| LAB | lab(51.5 76.8 -74.5) |
| LCH | lch(51.5 107.1 315.9) |
| OKLCH | oklch(0.617 0.270 308.4) |
Copy-ready code
/* CSS */
color: #b33afd;
background-color: #b33afd;
/* Tailwind (arbitrary) */
class="text-[#b33afd] bg-[#b33afd]"
/* SCSS */
$brand: #b33afd;
/* SwiftUI */
Color(red: 0.702, green: 0.227, blue: 0.992)
/* Android */
Color.parseColor("#b33afd")Accessibility — WCAG contrast
Aa
#b33afd on white: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b33afd on black: 4.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green22.7%
Blue99.2%
CMYK percentages
Cyan29.2%
Magenta77.1%
Yellow0.0%
Key (black)0.8%
Color previews
#b33afd text on a black background
contrast 4.94:1
Card sample
#b33afd text on a white background
contrast 4.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b33afd;
Background color
Panel with #b33afd background
background-color: #b33afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b33afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b33afd; background: linear-gradient(135deg, #b33afd, #FD3AC5);