#a864cc
a balanced, vivid violet · warm · closest name: orchid
RGB
168, 100, 204
HSL
279°, 51%, 60%
CMYK
18, 51, 0, 20
Luminance
0.2180
Every format
| HEX | #a864cc |
| RGB | rgb(168, 100, 204) |
| HSL | hsl(279, 51%, 60%) |
| CMYK | cmyk(18%, 51%, 0%, 20%) |
| LAB | lab(53.8 45.5 -43.3) |
| LCH | lch(53.8 62.8 316.4) |
| OKLCH | oklch(0.621 0.164 312.7) |
Copy-ready code
/* CSS */
color: #a864cc;
background-color: #a864cc;
/* Tailwind (arbitrary) */
class="text-[#a864cc] bg-[#a864cc]"
/* SCSS */
$brand: #a864cc;
/* SwiftUI */
Color(red: 0.659, green: 0.392, blue: 0.800)
/* Android */
Color.parseColor("#a864cc")Accessibility — WCAG contrast
Aa
#a864cc on white: 3.92:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a864cc on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green39.2%
Blue80.0%
CMYK percentages
Cyan17.6%
Magenta51.0%
Yellow0.0%
Key (black)20.0%
Color previews
#a864cc text on a black background
contrast 5.36:1
Card sample
#a864cc text on a white background
contrast 3.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a864cc;
Background color
Panel with #a864cc background
background-color: #a864cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a864cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 100, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 100, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a864cc; background: linear-gradient(135deg, #a864cc, #CC64AB);