#a30ecb
a dark, electric violet · warm · closest name: magenta
RGB
163, 14, 203
HSL
287°, 87%, 43%
CMYK
20, 93, 0, 20
Luminance
0.1241
Every format
| HEX | #a30ecb |
| RGB | rgb(163, 14, 203) |
| HSL | hsl(287, 87%, 43%) |
| CMYK | cmyk(20%, 93%, 0%, 20%) |
| LAB | lab(41.9 75.3 -61.9) |
| LCH | lch(41.9 97.5 320.6) |
| OKLCH | oklch(0.533 0.254 316.6) |
Copy-ready code
/* CSS */
color: #a30ecb;
background-color: #a30ecb;
/* Tailwind (arbitrary) */
class="text-[#a30ecb] bg-[#a30ecb]"
/* SCSS */
$brand: #a30ecb;
/* SwiftUI */
Color(red: 0.639, green: 0.055, blue: 0.796)
/* Android */
Color.parseColor("#a30ecb")Accessibility — WCAG contrast
Aa
#a30ecb on white: 6.03:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a30ecb on black: 3.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green5.5%
Blue79.6%
CMYK percentages
Cyan19.7%
Magenta93.1%
Yellow0.0%
Key (black)20.4%
Color previews
#a30ecb text on a black background
contrast 3.48:1
Card sample
#a30ecb text on a white background
contrast 6.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a30ecb;
Background color
Panel with #a30ecb background
background-color: #a30ecb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a30ecb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 14, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 14, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a30ecb; background: linear-gradient(135deg, #a30ecb, #CB0E75);