#a53afd
a balanced, electric violet · warm · closest name: magenta
RGB
165, 58, 253
HSL
273°, 98%, 61%
CMYK
35, 77, 0, 1
Luminance
0.1812
Every format
| HEX | #a53afd |
| RGB | rgb(165, 58, 253) |
| HSL | hsl(273, 98%, 61%) |
| CMYK | cmyk(35%, 77%, 0%, 1%) |
| LAB | lab(49.6 74.6 -77.7) |
| LCH | lch(49.6 107.7 313.9) |
| OKLCH | oklch(0.600 0.267 304.0) |
Copy-ready code
/* CSS */
color: #a53afd;
background-color: #a53afd;
/* Tailwind (arbitrary) */
class="text-[#a53afd] bg-[#a53afd]"
/* SCSS */
$brand: #a53afd;
/* SwiftUI */
Color(red: 0.647, green: 0.227, blue: 0.992)
/* Android */
Color.parseColor("#a53afd")Accessibility — WCAG contrast
Aa
#a53afd on white: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a53afd on black: 4.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green22.7%
Blue99.2%
CMYK percentages
Cyan34.8%
Magenta77.1%
Yellow0.0%
Key (black)0.8%
Color previews
#a53afd text on a black background
contrast 4.62:1
Card sample
#a53afd text on a white background
contrast 4.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a53afd;
Background color
Panel with #a53afd background
background-color: #a53afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a53afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a53afd; background: linear-gradient(135deg, #a53afd, #FD3AD3);