#a080ff
a light, electric violet · warm · closest name: slateblue
RGB
160, 128, 255
HSL
255°, 100%, 75%
CMYK
37, 50, 0, 0
Luminance
0.3013
Every format
| HEX | #a080ff |
| RGB | rgb(160, 128, 255) |
| HSL | hsl(255, 100%, 75%) |
| CMYK | cmyk(37%, 50%, 0%, 0%) |
| LAB | lab(61.8 40.3 -59.2) |
| LCH | lch(61.8 71.6 304.2) |
| OKLCH | oklch(0.687 0.181 292.6) |
Copy-ready code
/* CSS */
color: #a080ff;
background-color: #a080ff;
/* Tailwind (arbitrary) */
class="text-[#a080ff] bg-[#a080ff]"
/* SCSS */
$brand: #a080ff;
/* SwiftUI */
Color(red: 0.627, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#a080ff")Accessibility — WCAG contrast
Aa
#a080ff on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a080ff on black: 7.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.7%
Green50.2%
Blue100.0%
CMYK percentages
Cyan37.3%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#a080ff text on a black background
contrast 7.03:1
Card sample
#a080ff text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a080ff;
Background color
Panel with #a080ff background
background-color: #a080ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a080ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(160, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a080ff; background: linear-gradient(135deg, #a080ff, #F580FF);