#8c80ff
a light, electric blue · warm · closest name: slateblue
RGB
140, 128, 255
HSL
246°, 100%, 75%
CMYK
45, 50, 0, 0
Luminance
0.2823
Every format
| HEX | #8c80ff |
| RGB | rgb(140, 128, 255) |
| HSL | hsl(246, 100%, 75%) |
| CMYK | cmyk(45%, 50%, 0%, 0%) |
| LAB | lab(60.1 35.7 -62.0) |
| LCH | lch(60.1 71.5 299.9) |
| OKLCH | oklch(0.670 0.182 284.6) |
Copy-ready code
/* CSS */
color: #8c80ff;
background-color: #8c80ff;
/* Tailwind (arbitrary) */
class="text-[#8c80ff] bg-[#8c80ff]"
/* SCSS */
$brand: #8c80ff;
/* SwiftUI */
Color(red: 0.549, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#8c80ff")Accessibility — WCAG contrast
Aa
#8c80ff on white: 3.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8c80ff on black: 6.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green50.2%
Blue100.0%
CMYK percentages
Cyan45.1%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#8c80ff text on a black background
contrast 6.65:1
Card sample
#8c80ff text on a white background
contrast 3.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c80ff;
Background color
Panel with #8c80ff background
background-color: #8c80ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c80ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c80ff; background: linear-gradient(135deg, #8c80ff, #E180FF);