#a488ff
a light, electric blue · warm · closest name: slateblue
RGB
164, 136, 255
HSL
254°, 100%, 77%
CMYK
36, 47, 0, 0
Luminance
0.3272
Every format
| HEX | #a488ff |
| RGB | rgb(164, 136, 255) |
| HSL | hsl(254, 100%, 77%) |
| CMYK | cmyk(36%, 47%, 0%, 0%) |
| LAB | lab(63.9 36.8 -55.7) |
| LCH | lch(63.9 66.8 303.4) |
| OKLCH | oklch(0.704 0.170 292.3) |
Copy-ready code
/* CSS */
color: #a488ff;
background-color: #a488ff;
/* Tailwind (arbitrary) */
class="text-[#a488ff] bg-[#a488ff]"
/* SCSS */
$brand: #a488ff;
/* SwiftUI */
Color(red: 0.643, green: 0.533, blue: 1.000)
/* Android */
Color.parseColor("#a488ff")Accessibility — WCAG contrast
Aa
#a488ff on white: 2.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a488ff on black: 7.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green53.3%
Blue100.0%
CMYK percentages
Cyan35.7%
Magenta46.7%
Yellow0.0%
Key (black)0.0%
Color previews
#a488ff text on a black background
contrast 7.54:1
Card sample
#a488ff text on a white background
contrast 2.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a488ff;
Background color
Panel with #a488ff background
background-color: #a488ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a488ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 136, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 136, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a488ff; background: linear-gradient(135deg, #a488ff, #F388FF);