#9b4cf0
a balanced, electric violet · warm · closest name: slateblue
RGB
155, 76, 240
HSL
269°, 85%, 62%
CMYK
35, 68, 0, 6
Luminance
0.1843
Every format
| HEX | #9b4cf0 |
| RGB | rgb(155, 76, 240) |
| HSL | hsl(269, 85%, 62%) |
| CMYK | cmyk(35%, 68%, 0%, 6%) |
| LAB | lab(50.0 62.7 -69.8) |
| LCH | lch(50.0 93.8 311.9) |
| OKLCH | oklch(0.597 0.234 301.7) |
Copy-ready code
/* CSS */
color: #9b4cf0;
background-color: #9b4cf0;
/* Tailwind (arbitrary) */
class="text-[#9b4cf0] bg-[#9b4cf0]"
/* SCSS */
$brand: #9b4cf0;
/* SwiftUI */
Color(red: 0.608, green: 0.298, blue: 0.941)
/* Android */
Color.parseColor("#9b4cf0")Accessibility — WCAG contrast
Aa
#9b4cf0 on white: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9b4cf0 on black: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green29.8%
Blue94.1%
CMYK percentages
Cyan35.4%
Magenta68.3%
Yellow0.0%
Key (black)5.9%
Color previews
#9b4cf0 text on a black background
contrast 4.69:1
Card sample
#9b4cf0 text on a white background
contrast 4.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b4cf0;
Background color
Panel with #9b4cf0 background
background-color: #9b4cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b4cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 76, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 76, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b4cf0; background: linear-gradient(135deg, #9b4cf0, #F04CD8);