#b64af2
a balanced, electric violet · warm · closest name: magenta
RGB
182, 74, 242
HSL
279°, 87%, 62%
CMYK
25, 69, 0, 5
Luminance
0.2125
Every format
| HEX | #b64af2 |
| RGB | rgb(182, 74, 242) |
| HSL | hsl(279, 87%, 62%) |
| CMYK | cmyk(25%, 69%, 0%, 5%) |
| LAB | lab(53.2 69.2 -65.6) |
| LCH | lch(53.2 95.3 316.5) |
| OKLCH | oklch(0.627 0.244 310.7) |
Copy-ready code
/* CSS */
color: #b64af2;
background-color: #b64af2;
/* Tailwind (arbitrary) */
class="text-[#b64af2] bg-[#b64af2]"
/* SCSS */
$brand: #b64af2;
/* SwiftUI */
Color(red: 0.714, green: 0.290, blue: 0.949)
/* Android */
Color.parseColor("#b64af2")Accessibility — WCAG contrast
Aa
#b64af2 on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b64af2 on black: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.4%
Green29.0%
Blue94.9%
CMYK percentages
Cyan24.8%
Magenta69.4%
Yellow0.0%
Key (black)5.1%
Color previews
#b64af2 text on a black background
contrast 5.25:1
Card sample
#b64af2 text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b64af2;
Background color
Panel with #b64af2 background
background-color: #b64af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b64af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(182, 74, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(182, 74, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b64af2; background: linear-gradient(135deg, #b64af2, #F24ABE);