#984ace
a balanced, vivid violet · warm · closest name: slateblue
RGB
152, 74, 206
HSL
276°, 57%, 55%
CMYK
26, 64, 0, 19
Luminance
0.1603
Every format
| HEX | #984ace |
| RGB | rgb(152, 74, 206) |
| HSL | hsl(276, 57%, 55%) |
| CMYK | cmyk(26%, 64%, 0%, 19%) |
| LAB | lab(47.0 55.2 -55.4) |
| LCH | lch(47.0 78.2 314.9) |
| OKLCH | oklch(0.567 0.200 308.5) |
Copy-ready code
/* CSS */
color: #984ace;
background-color: #984ace;
/* Tailwind (arbitrary) */
class="text-[#984ace] bg-[#984ace]"
/* SCSS */
$brand: #984ace;
/* SwiftUI */
Color(red: 0.596, green: 0.290, blue: 0.808)
/* Android */
Color.parseColor("#984ace")Accessibility — WCAG contrast
Aa
#984ace on white: 4.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#984ace on black: 4.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red59.6%
Green29.0%
Blue80.8%
CMYK percentages
Cyan26.2%
Magenta64.1%
Yellow0.0%
Key (black)19.2%
Color previews
#984ace text on a black background
contrast 4.21:1
Card sample
#984ace text on a white background
contrast 4.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #984ace;
Background color
Panel with #984ace background
background-color: #984ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #984ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(152, 74, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 74, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #984ace; background: linear-gradient(135deg, #984ace, #CE4AAC);