#a655ff
a light, electric violet · warm · closest name: slateblue
RGB
166, 85, 255
HSL
269°, 100%, 67%
CMYK
35, 67, 0, 0
Luminance
0.2182
Every format
| HEX | #a655ff |
| RGB | rgb(166, 85, 255) |
| HSL | hsl(269, 100%, 67%) |
| CMYK | cmyk(35%, 67%, 0%, 0%) |
| LAB | lab(53.8 64.1 -71.9) |
| LCH | lch(53.8 96.4 311.7) |
| OKLCH | oklch(0.630 0.240 301.7) |
Copy-ready code
/* CSS */
color: #a655ff;
background-color: #a655ff;
/* Tailwind (arbitrary) */
class="text-[#a655ff] bg-[#a655ff]"
/* SCSS */
$brand: #a655ff;
/* SwiftUI */
Color(red: 0.651, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#a655ff")Accessibility — WCAG contrast
Aa
#a655ff on white: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a655ff on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green33.3%
Blue100.0%
CMYK percentages
Cyan34.9%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#a655ff text on a black background
contrast 5.36:1
Card sample
#a655ff text on a white background
contrast 3.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a655ff;
Background color
Panel with #a655ff background
background-color: #a655ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a655ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a655ff; background: linear-gradient(135deg, #a655ff, #FF55E7);