#a47cff
a light, electric violet · warm · closest name: slateblue
RGB
164, 124, 255
HSL
258°, 100%, 74%
CMYK
36, 51, 0, 0
Luminance
0.2953
Every format
| HEX | #a47cff |
| RGB | rgb(164, 124, 255) |
| HSL | hsl(258, 100%, 74%) |
| CMYK | cmyk(36%, 51%, 0%, 0%) |
| LAB | lab(61.2 43.5 -60.0) |
| LCH | lch(61.2 74.1 305.9) |
| OKLCH | oklch(0.684 0.188 295.1) |
Copy-ready code
/* CSS */
color: #a47cff;
background-color: #a47cff;
/* Tailwind (arbitrary) */
class="text-[#a47cff] bg-[#a47cff]"
/* SCSS */
$brand: #a47cff;
/* SwiftUI */
Color(red: 0.643, green: 0.486, blue: 1.000)
/* Android */
Color.parseColor("#a47cff")Accessibility — WCAG contrast
Aa
#a47cff on white: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a47cff on black: 6.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green48.6%
Blue100.0%
CMYK percentages
Cyan35.7%
Magenta51.4%
Yellow0.0%
Key (black)0.0%
Color previews
#a47cff text on a black background
contrast 6.91:1
Card sample
#a47cff text on a white background
contrast 3.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a47cff;
Background color
Panel with #a47cff background
background-color: #a47cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a47cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 124, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 124, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a47cff; background: linear-gradient(135deg, #a47cff, #FB7CFF);