#954bc9
a balanced, vivid violet · warm · closest name: slateblue
RGB
149, 75, 201
HSL
275°, 54%, 54%
CMYK
26, 63, 0, 21
Luminance
0.1564
Every format
| HEX | #954bc9 |
| RGB | rgb(149, 75, 201) |
| HSL | hsl(275, 54%, 54%) |
| CMYK | cmyk(26%, 63%, 0%, 21%) |
| LAB | lab(46.5 52.9 -53.4) |
| LCH | lch(46.5 75.1 314.7) |
| OKLCH | oklch(0.562 0.193 308.5) |
Copy-ready code
/* CSS */
color: #954bc9;
background-color: #954bc9;
/* Tailwind (arbitrary) */
class="text-[#954bc9] bg-[#954bc9]"
/* SCSS */
$brand: #954bc9;
/* SwiftUI */
Color(red: 0.584, green: 0.294, blue: 0.788)
/* Android */
Color.parseColor("#954bc9")Accessibility — WCAG contrast
Aa
#954bc9 on white: 5.09:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#954bc9 on black: 4.13:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green29.4%
Blue78.8%
CMYK percentages
Cyan25.9%
Magenta62.7%
Yellow0.0%
Key (black)21.2%
Color previews
#954bc9 text on a black background
contrast 4.13:1
Card sample
#954bc9 text on a white background
contrast 5.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #954bc9;
Background color
Panel with #954bc9 background
background-color: #954bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #954bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #954bc9; background: linear-gradient(135deg, #954bc9, #C94BA9);