#b417eb
a balanced, electric violet · warm · closest name: magenta
RGB
180, 23, 235
HSL
284°, 84%, 51%
CMYK
23, 90, 0, 8
Luminance
0.1631
Every format
| HEX | #b417eb |
| RGB | rgb(180, 23, 235) |
| HSL | hsl(284, 84%, 51%) |
| CMYK | cmyk(23%, 90%, 0%, 8%) |
| LAB | lab(47.4 82.1 -71.1) |
| LCH | lch(47.4 108.7 319.1) |
| OKLCH | oklch(0.584 0.280 313.9) |
Copy-ready code
/* CSS */
color: #b417eb;
background-color: #b417eb;
/* Tailwind (arbitrary) */
class="text-[#b417eb] bg-[#b417eb]"
/* SCSS */
$brand: #b417eb;
/* SwiftUI */
Color(red: 0.706, green: 0.090, blue: 0.922)
/* Android */
Color.parseColor("#b417eb")Accessibility — WCAG contrast
Aa
#b417eb on white: 4.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b417eb on black: 4.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green9.0%
Blue92.2%
CMYK percentages
Cyan23.4%
Magenta90.2%
Yellow0.0%
Key (black)7.8%
Color previews
#b417eb text on a black background
contrast 4.26:1
Card sample
#b417eb text on a white background
contrast 4.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b417eb;
Background color
Panel with #b417eb background
background-color: #b417eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b417eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 23, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 23, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b417eb; background: linear-gradient(135deg, #b417eb, #EB1795);