#b010fd
a balanced, electric violet · warm · closest name: magenta
RGB
176, 16, 253
HSL
281°, 98%, 53%
CMYK
30, 94, 0, 1
Luminance
0.1669
Every format
| HEX | #b010fd |
| RGB | rgb(176, 16, 253) |
| HSL | hsl(281, 98%, 53%) |
| CMYK | cmyk(30%, 94%, 0%, 1%) |
| LAB | lab(47.9 85.8 -80.5) |
| LCH | lch(47.9 117.7 316.8) |
| OKLCH | oklch(0.591 0.295 309.0) |
Copy-ready code
/* CSS */
color: #b010fd;
background-color: #b010fd;
/* Tailwind (arbitrary) */
class="text-[#b010fd] bg-[#b010fd]"
/* SCSS */
$brand: #b010fd;
/* SwiftUI */
Color(red: 0.690, green: 0.063, blue: 0.992)
/* Android */
Color.parseColor("#b010fd")Accessibility — WCAG contrast
Aa
#b010fd on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b010fd on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.0%
Green6.3%
Blue99.2%
CMYK percentages
Cyan30.4%
Magenta93.7%
Yellow0.0%
Key (black)0.8%
Color previews
#b010fd text on a black background
contrast 4.34:1
Card sample
#b010fd text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b010fd;
Background color
Panel with #b010fd background
background-color: #b010fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b010fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(176, 16, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 16, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b010fd; background: linear-gradient(135deg, #b010fd, #FD10AC);