#a259ff
a light, electric violet · warm · closest name: slateblue
RGB
162, 89, 255
HSL
266°, 100%, 68%
CMYK
37, 65, 0, 0
Luminance
0.2205
Every format
| HEX | #a259ff |
| RGB | rgb(162, 89, 255) |
| HSL | hsl(266, 100%, 68%) |
| CMYK | cmyk(37%, 65%, 0%, 0%) |
| LAB | lab(54.1 61.4 -71.6) |
| LCH | lch(54.1 94.3 310.6) |
| OKLCH | oklch(0.631 0.235 299.8) |
Copy-ready code
/* CSS */
color: #a259ff;
background-color: #a259ff;
/* Tailwind (arbitrary) */
class="text-[#a259ff] bg-[#a259ff]"
/* SCSS */
$brand: #a259ff;
/* SwiftUI */
Color(red: 0.635, green: 0.349, blue: 1.000)
/* Android */
Color.parseColor("#a259ff")Accessibility — WCAG contrast
Aa
#a259ff on white: 3.88:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#a259ff on black: 5.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green34.9%
Blue100.0%
CMYK percentages
Cyan36.5%
Magenta65.1%
Yellow0.0%
Key (black)0.0%
Color previews
#a259ff text on a black background
contrast 5.41:1
Card sample
#a259ff text on a white background
contrast 3.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a259ff;
Background color
Panel with #a259ff background
background-color: #a259ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a259ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 89, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 89, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a259ff; background: linear-gradient(135deg, #a259ff, #FF59ED);