#9784df
a light, vivid blue · warm · closest name: slateblue
RGB
151, 132, 223
HSL
253°, 59%, 70%
CMYK
32, 41, 0, 13
Luminance
0.2841
Every format
| HEX | #9784df |
| RGB | rgb(151, 132, 223) |
| HSL | hsl(253, 59%, 70%) |
| CMYK | cmyk(32%, 41%, 0%, 13%) |
| LAB | lab(60.3 27.4 -44.0) |
| LCH | lch(60.3 51.8 301.9) |
| OKLCH | oklch(0.668 0.133 292.0) |
Copy-ready code
/* CSS */
color: #9784df;
background-color: #9784df;
/* Tailwind (arbitrary) */
class="text-[#9784df] bg-[#9784df]"
/* SCSS */
$brand: #9784df;
/* SwiftUI */
Color(red: 0.592, green: 0.518, blue: 0.875)
/* Android */
Color.parseColor("#9784df")Accessibility — WCAG contrast
Aa
#9784df on white: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9784df on black: 6.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red59.2%
Green51.8%
Blue87.5%
CMYK percentages
Cyan32.3%
Magenta40.8%
Yellow0.0%
Key (black)12.5%
Color previews
#9784df text on a black background
contrast 6.68:1
Card sample
#9784df text on a white background
contrast 3.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9784df;
Background color
Panel with #9784df background
background-color: #9784df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9784df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(151, 132, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 132, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9784df; background: linear-gradient(135deg, #9784df, #D484DF);