#9b4bdf
a balanced, vivid violet · warm · closest name: slateblue
RGB
155, 75, 223
HSL
272°, 70%, 58%
CMYK
31, 66, 0, 13
Luminance
0.1733
Every format
| HEX | #9b4bdf |
| RGB | rgb(155, 75, 223) |
| HSL | hsl(272, 70%, 58%) |
| CMYK | cmyk(31%, 66%, 0%, 13%) |
| LAB | lab(48.7 59.2 -62.4) |
| LCH | lch(48.7 86.0 313.5) |
| OKLCH | oklch(0.584 0.217 305.4) |
Copy-ready code
/* CSS */
color: #9b4bdf;
background-color: #9b4bdf;
/* Tailwind (arbitrary) */
class="text-[#9b4bdf] bg-[#9b4bdf]"
/* SCSS */
$brand: #9b4bdf;
/* SwiftUI */
Color(red: 0.608, green: 0.294, blue: 0.875)
/* Android */
Color.parseColor("#9b4bdf")Accessibility — WCAG contrast
Aa
#9b4bdf on white: 4.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9b4bdf on black: 4.47:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green29.4%
Blue87.5%
CMYK percentages
Cyan30.5%
Magenta66.4%
Yellow0.0%
Key (black)12.5%
Color previews
#9b4bdf text on a black background
contrast 4.47:1
Card sample
#9b4bdf text on a white background
contrast 4.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b4bdf;
Background color
Panel with #9b4bdf background
background-color: #9b4bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b4bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 75, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 75, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b4bdf; background: linear-gradient(135deg, #9b4bdf, #DF4BC0);