#a45ace
a balanced, vivid violet · warm · closest name: slateblue
RGB
164, 90, 206
HSL
278°, 54%, 58%
CMYK
20, 56, 0, 19
Luminance
0.1966
Every format
| HEX | #a45ace |
| RGB | rgb(164, 90, 206) |
| HSL | hsl(278, 54%, 58%) |
| CMYK | cmyk(20%, 56%, 0%, 19%) |
| LAB | lab(51.5 50.1 -48.2) |
| LCH | lch(51.5 69.5 316.1) |
| OKLCH | oklch(0.603 0.181 311.6) |
Copy-ready code
/* CSS */
color: #a45ace;
background-color: #a45ace;
/* Tailwind (arbitrary) */
class="text-[#a45ace] bg-[#a45ace]"
/* SCSS */
$brand: #a45ace;
/* SwiftUI */
Color(red: 0.643, green: 0.353, blue: 0.808)
/* Android */
Color.parseColor("#a45ace")Accessibility — WCAG contrast
Aa
#a45ace on white: 4.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a45ace on black: 4.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green35.3%
Blue80.8%
CMYK percentages
Cyan20.4%
Magenta56.3%
Yellow0.0%
Key (black)19.2%
Color previews
#a45ace text on a black background
contrast 4.93:1
Card sample
#a45ace text on a white background
contrast 4.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a45ace;
Background color
Panel with #a45ace background
background-color: #a45ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a45ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 90, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 90, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a45ace; background: linear-gradient(135deg, #a45ace, #CE5AAB);