#b12eee
a balanced, electric violet · warm · closest name: magenta
RGB
177, 46, 238
HSL
281°, 85%, 56%
CMYK
26, 81, 0, 7
Luminance
0.1747
Every format
| HEX | #b12eee |
| RGB | rgb(177, 46, 238) |
| HSL | hsl(281, 85%, 56%) |
| CMYK | cmyk(26%, 81%, 0%, 7%) |
| LAB | lab(48.9 77.3 -70.5) |
| LCH | lch(48.9 104.6 317.6) |
| OKLCH | oklch(0.594 0.267 311.6) |
Copy-ready code
/* CSS */
color: #b12eee;
background-color: #b12eee;
/* Tailwind (arbitrary) */
class="text-[#b12eee] bg-[#b12eee]"
/* SCSS */
$brand: #b12eee;
/* SwiftUI */
Color(red: 0.694, green: 0.180, blue: 0.933)
/* Android */
Color.parseColor("#b12eee")Accessibility — WCAG contrast
Aa
#b12eee on white: 4.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b12eee on black: 4.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green18.0%
Blue93.3%
CMYK percentages
Cyan25.6%
Magenta80.7%
Yellow0.0%
Key (black)6.7%
Color previews
#b12eee text on a black background
contrast 4.49:1
Card sample
#b12eee text on a white background
contrast 4.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b12eee;
Background color
Panel with #b12eee background
background-color: #b12eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b12eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 46, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 46, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b12eee; background: linear-gradient(135deg, #b12eee, #EE2EAB);