#a618ff
a balanced, electric violet · warm · closest name: blue
RGB
166, 24, 255
HSL
277°, 100%, 55%
CMYK
35, 91, 0, 0
Luminance
0.1598
Every format
| HEX | #a618ff |
| RGB | rgb(166, 24, 255) |
| HSL | hsl(277, 100%, 55%) |
| CMYK | cmyk(35%, 91%, 0%, 0%) |
| LAB | lab(47.0 84.0 -83.2) |
| LCH | lch(47.0 118.2 315.3) |
| OKLCH | oklch(0.582 0.291 305.4) |
Copy-ready code
/* CSS */
color: #a618ff;
background-color: #a618ff;
/* Tailwind (arbitrary) */
class="text-[#a618ff] bg-[#a618ff]"
/* SCSS */
$brand: #a618ff;
/* SwiftUI */
Color(red: 0.651, green: 0.094, blue: 1.000)
/* Android */
Color.parseColor("#a618ff")Accessibility — WCAG contrast
Aa
#a618ff on white: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a618ff on black: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green9.4%
Blue100.0%
CMYK percentages
Cyan34.9%
Magenta90.6%
Yellow0.0%
Key (black)0.0%
Color previews
#a618ff text on a black background
contrast 4.20:1
Card sample
#a618ff text on a white background
contrast 5.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a618ff;
Background color
Panel with #a618ff background
background-color: #a618ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a618ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 24, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 24, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a618ff; background: linear-gradient(135deg, #a618ff, #FF18BE);