#b12fdf
a balanced, vivid violet · warm · closest name: magenta
RGB
177, 47, 223
HSL
284°, 73%, 53%
CMYK
21, 79, 0, 13
Luminance
0.1671
Every format
| HEX | #b12fdf |
| RGB | rgb(177, 47, 223) |
| HSL | hsl(284, 73%, 53%) |
| CMYK | cmyk(21%, 79%, 0%, 13%) |
| LAB | lab(47.9 74.1 -63.5) |
| LCH | lch(47.9 97.6 319.4) |
| OKLCH | oklch(0.584 0.254 315.0) |
Copy-ready code
/* CSS */
color: #b12fdf;
background-color: #b12fdf;
/* Tailwind (arbitrary) */
class="text-[#b12fdf] bg-[#b12fdf]"
/* SCSS */
$brand: #b12fdf;
/* SwiftUI */
Color(red: 0.694, green: 0.184, blue: 0.875)
/* Android */
Color.parseColor("#b12fdf")Accessibility — WCAG contrast
Aa
#b12fdf on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b12fdf on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green18.4%
Blue87.5%
CMYK percentages
Cyan20.6%
Magenta78.9%
Yellow0.0%
Key (black)12.5%
Color previews
#b12fdf text on a black background
contrast 4.34:1
Card sample
#b12fdf text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b12fdf;
Background color
Panel with #b12fdf background
background-color: #b12fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b12fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b12fdf; background: linear-gradient(135deg, #b12fdf, #DF2F98);