#a80cff
a balanced, electric violet · warm · closest name: blue
RGB
168, 12, 255
HSL
279°, 100%, 52%
CMYK
34, 95, 0, 0
Luminance
0.1581
Every format
| HEX | #a80cff |
| RGB | rgb(168, 12, 255) |
| HSL | hsl(279, 100%, 52%) |
| CMYK | cmyk(34%, 95%, 0%, 0%) |
| LAB | lab(46.7 85.7 -83.5) |
| LCH | lch(46.7 119.7 315.7) |
| OKLCH | oklch(0.581 0.296 306.3) |
Copy-ready code
/* CSS */
color: #a80cff;
background-color: #a80cff;
/* Tailwind (arbitrary) */
class="text-[#a80cff] bg-[#a80cff]"
/* SCSS */
$brand: #a80cff;
/* SwiftUI */
Color(red: 0.659, green: 0.047, blue: 1.000)
/* Android */
Color.parseColor("#a80cff")Accessibility — WCAG contrast
Aa
#a80cff on white: 5.05:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a80cff on black: 4.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green4.7%
Blue100.0%
CMYK percentages
Cyan34.1%
Magenta95.3%
Yellow0.0%
Key (black)0.0%
Color previews
#a80cff text on a black background
contrast 4.16:1
Card sample
#a80cff text on a white background
contrast 5.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a80cff;
Background color
Panel with #a80cff background
background-color: #a80cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a80cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 12, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 12, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a80cff; background: linear-gradient(135deg, #a80cff, #FF0CB4);