#9b8ddf
a light, vivid blue · warm · closest name: plum
RGB
155, 141, 223
HSL
250°, 56%, 71%
CMYK
31, 37, 0, 13
Luminance
0.3135
Every format
| HEX | #9b8ddf |
| RGB | rgb(155, 141, 223) |
| HSL | hsl(250, 56%, 71%) |
| CMYK | cmyk(31%, 37%, 0%, 13%) |
| LAB | lab(62.8 23.3 -39.9) |
| LCH | lch(62.8 46.2 300.3) |
| OKLCH | oklch(0.688 0.119 290.8) |
Copy-ready code
/* CSS */
color: #9b8ddf;
background-color: #9b8ddf;
/* Tailwind (arbitrary) */
class="text-[#9b8ddf] bg-[#9b8ddf]"
/* SCSS */
$brand: #9b8ddf;
/* SwiftUI */
Color(red: 0.608, green: 0.553, blue: 0.875)
/* Android */
Color.parseColor("#9b8ddf")Accessibility — WCAG contrast
Aa
#9b8ddf on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9b8ddf on black: 7.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green55.3%
Blue87.5%
CMYK percentages
Cyan30.5%
Magenta36.8%
Yellow0.0%
Key (black)12.5%
Color previews
#9b8ddf text on a black background
contrast 7.27:1
Card sample
#9b8ddf text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b8ddf;
Background color
Panel with #9b8ddf background
background-color: #9b8ddf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b8ddf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 141, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 141, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b8ddf; background: linear-gradient(135deg, #9b8ddf, #D28DDF);