#9b55ff
a light, electric violet · warm · closest name: slateblue
RGB
155, 85, 255
HSL
265°, 100%, 67%
CMYK
39, 67, 0, 0
Luminance
0.2069
Every format
| HEX | #9b55ff |
| RGB | rgb(155, 85, 255) |
| HSL | hsl(265, 100%, 67%) |
| CMYK | cmyk(39%, 67%, 0%, 0%) |
| LAB | lab(52.6 62.0 -74.0) |
| LCH | lch(52.6 96.5 310.0) |
| OKLCH | oklch(0.619 0.239 297.9) |
Copy-ready code
/* CSS */
color: #9b55ff;
background-color: #9b55ff;
/* Tailwind (arbitrary) */
class="text-[#9b55ff] bg-[#9b55ff]"
/* SCSS */
$brand: #9b55ff;
/* SwiftUI */
Color(red: 0.608, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#9b55ff")Accessibility — WCAG contrast
Aa
#9b55ff on white: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9b55ff on black: 5.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green33.3%
Blue100.0%
CMYK percentages
Cyan39.2%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#9b55ff text on a black background
contrast 5.14:1
Card sample
#9b55ff text on a white background
contrast 4.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b55ff;
Background color
Panel with #9b55ff background
background-color: #9b55ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b55ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b55ff; background: linear-gradient(135deg, #9b55ff, #FF55F2);