#8080df
a light, vivid blue · warm · closest name: royalblue
RGB
128, 128, 223
HSL
240°, 60%, 69%
CMYK
43, 43, 0, 13
Luminance
0.2536
Every format
| HEX | #8080df |
| RGB | rgb(128, 128, 223) |
| HSL | hsl(240, 60%, 69%) |
| CMYK | cmyk(43%, 43%, 0%, 13%) |
| LAB | lab(57.4 23.7 -48.5) |
| LCH | lch(57.4 54.0 296.0) |
| OKLCH | oklch(0.642 0.140 281.7) |
Copy-ready code
/* CSS */
color: #8080df;
background-color: #8080df;
/* Tailwind (arbitrary) */
class="text-[#8080df] bg-[#8080df]"
/* SCSS */
$brand: #8080df;
/* SwiftUI */
Color(red: 0.502, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#8080df")Accessibility — WCAG contrast
Aa
#8080df on white: 3.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8080df on black: 6.07:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green50.2%
Blue87.5%
CMYK percentages
Cyan42.6%
Magenta42.6%
Yellow0.0%
Key (black)12.5%
Color previews
#8080df text on a black background
contrast 6.07:1
Card sample
#8080df text on a white background
contrast 3.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8080df;
Background color
Panel with #8080df background
background-color: #8080df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8080df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8080df; background: linear-gradient(135deg, #8080df, #BF80DF);