#954ade
a balanced, vivid violet · warm · closest name: slateblue
RGB
149, 74, 222
HSL
270°, 69%, 58%
CMYK
33, 67, 0, 13
Luminance
0.1656
Every format
| HEX | #954ade |
| RGB | rgb(149, 74, 222) |
| HSL | hsl(270, 69%, 58%) |
| CMYK | cmyk(33%, 67%, 0%, 13%) |
| LAB | lab(47.7 58.2 -63.5) |
| LCH | lch(47.7 86.1 312.5) |
| OKLCH | oklch(0.575 0.216 303.5) |
Copy-ready code
/* CSS */
color: #954ade;
background-color: #954ade;
/* Tailwind (arbitrary) */
class="text-[#954ade] bg-[#954ade]"
/* SCSS */
$brand: #954ade;
/* SwiftUI */
Color(red: 0.584, green: 0.290, blue: 0.871)
/* Android */
Color.parseColor("#954ade")Accessibility — WCAG contrast
Aa
#954ade on white: 4.87:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#954ade on black: 4.31:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green29.0%
Blue87.1%
CMYK percentages
Cyan32.9%
Magenta66.7%
Yellow0.0%
Key (black)12.9%
Color previews
#954ade text on a black background
contrast 4.31:1
Card sample
#954ade text on a white background
contrast 4.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #954ade;
Background color
Panel with #954ade background
background-color: #954ade;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #954ade;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 74, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 74, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #954ade; background: linear-gradient(135deg, #954ade, #DE4AC4);