#a53af4
a balanced, electric violet · warm · closest name: magenta
RGB
165, 58, 244
HSL
275°, 89%, 59%
CMYK
32, 76, 0, 4
Luminance
0.1756
Every format
| HEX | #a53af4 |
| RGB | rgb(165, 58, 244) |
| HSL | hsl(275, 89%, 59%) |
| CMYK | cmyk(32%, 76%, 0%, 4%) |
| LAB | lab(49.0 72.7 -73.7) |
| LCH | lch(49.0 103.5 314.6) |
| OKLCH | oklch(0.593 0.259 305.8) |
Copy-ready code
/* CSS */
color: #a53af4;
background-color: #a53af4;
/* Tailwind (arbitrary) */
class="text-[#a53af4] bg-[#a53af4]"
/* SCSS */
$brand: #a53af4;
/* SwiftUI */
Color(red: 0.647, green: 0.227, blue: 0.957)
/* Android */
Color.parseColor("#a53af4")Accessibility — WCAG contrast
Aa
#a53af4 on white: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a53af4 on black: 4.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green22.7%
Blue95.7%
CMYK percentages
Cyan32.4%
Magenta76.2%
Yellow0.0%
Key (black)4.3%
Color previews
#a53af4 text on a black background
contrast 4.51:1
Card sample
#a53af4 text on a white background
contrast 4.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a53af4;
Background color
Panel with #a53af4 background
background-color: #a53af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a53af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 58, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 58, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a53af4; background: linear-gradient(135deg, #a53af4, #F43AC7);