#985ace
a balanced, vivid violet · warm · closest name: slateblue
RGB
152, 90, 206
HSL
272°, 54%, 58%
CMYK
26, 56, 0, 19
Luminance
0.1844
Every format
| HEX | #985ace |
| RGB | rgb(152, 90, 206) |
| HSL | hsl(272, 54%, 58%) |
| CMYK | cmyk(26%, 56%, 0%, 19%) |
| LAB | lab(50.0 47.1 -50.6) |
| LCH | lch(50.0 69.1 312.9) |
| OKLCH | oklch(0.589 0.177 306.4) |
Copy-ready code
/* CSS */
color: #985ace;
background-color: #985ace;
/* Tailwind (arbitrary) */
class="text-[#985ace] bg-[#985ace]"
/* SCSS */
$brand: #985ace;
/* SwiftUI */
Color(red: 0.596, green: 0.353, blue: 0.808)
/* Android */
Color.parseColor("#985ace")Accessibility — WCAG contrast
Aa
#985ace on white: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#985ace on black: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red59.6%
Green35.3%
Blue80.8%
CMYK percentages
Cyan26.2%
Magenta56.3%
Yellow0.0%
Key (black)19.2%
Color previews
#985ace text on a black background
contrast 4.69:1
Card sample
#985ace text on a white background
contrast 4.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #985ace;
Background color
Panel with #985ace background
background-color: #985ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #985ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(152, 90, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 90, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #985ace; background: linear-gradient(135deg, #985ace, #CE5AB7);