#9b06ff
a balanced, electric violet · warm · closest name: blue
RGB
155, 6, 255
HSL
276°, 100%, 51%
CMYK
39, 98, 0, 0
Luminance
0.1432
Every format
| HEX | #9b06ff |
| RGB | rgb(155, 6, 255) |
| HSL | hsl(276, 100%, 51%) |
| CMYK | cmyk(39%, 98%, 0%, 0%) |
| LAB | lab(44.7 84.9 -86.9) |
| LCH | lch(44.7 121.5 314.3) |
| OKLCH | oklch(0.563 0.295 302.4) |
Copy-ready code
/* CSS */
color: #9b06ff;
background-color: #9b06ff;
/* Tailwind (arbitrary) */
class="text-[#9b06ff] bg-[#9b06ff]"
/* SCSS */
$brand: #9b06ff;
/* SwiftUI */
Color(red: 0.608, green: 0.024, blue: 1.000)
/* Android */
Color.parseColor("#9b06ff")Accessibility — WCAG contrast
Aa
#9b06ff on white: 5.44:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9b06ff on black: 3.86:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green2.4%
Blue100.0%
CMYK percentages
Cyan39.2%
Magenta97.6%
Yellow0.0%
Key (black)0.0%
Color previews
#9b06ff text on a black background
contrast 3.86:1
Card sample
#9b06ff text on a white background
contrast 5.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b06ff;
Background color
Panel with #9b06ff background
background-color: #9b06ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b06ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 6, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 6, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b06ff; background: linear-gradient(135deg, #9b06ff, #FF06BD);