#9b8eb4
a balanced, soft violet · warm · closest name: gray
RGB
155, 142, 180
HSL
261°, 20%, 63%
CMYK
14, 21, 0, 29
Luminance
0.2961
Every format
| HEX | #9b8eb4 |
| RGB | rgb(155, 142, 180) |
| HSL | hsl(261, 20%, 63%) |
| CMYK | cmyk(14%, 21%, 0%, 29%) |
| LAB | lab(61.3 12.5 -18.1) |
| LCH | lch(61.3 22.0 304.6) |
| OKLCH | oklch(0.671 0.057 300.5) |
Copy-ready code
/* CSS */
color: #9b8eb4;
background-color: #9b8eb4;
/* Tailwind (arbitrary) */
class="text-[#9b8eb4] bg-[#9b8eb4]"
/* SCSS */
$brand: #9b8eb4;
/* SwiftUI */
Color(red: 0.608, green: 0.557, blue: 0.706)
/* Android */
Color.parseColor("#9b8eb4")Accessibility — WCAG contrast
Aa
#9b8eb4 on white: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9b8eb4 on black: 6.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green55.7%
Blue70.6%
CMYK percentages
Cyan13.9%
Magenta21.1%
Yellow0.0%
Key (black)29.4%
Color previews
#9b8eb4 text on a black background
contrast 6.92:1
Card sample
#9b8eb4 text on a white background
contrast 3.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b8eb4;
Background color
Panel with #9b8eb4 background
background-color: #9b8eb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b8eb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 142, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 142, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b8eb4; background: linear-gradient(135deg, #9b8eb4, #B48EB4);