#7f80ff
a light, electric blue · warm · closest name: royalblue
RGB
127, 128, 255
HSL
240°, 100%, 75%
CMYK
50, 50, 0, 0
Luminance
0.2717
Every format
| HEX | #7f80ff |
| RGB | rgb(127, 128, 255) |
| HSL | hsl(240, 100%, 75%) |
| CMYK | cmyk(50%, 50%, 0%, 0%) |
| LAB | lab(59.1 32.9 -63.6) |
| LCH | lch(59.1 71.6 297.4) |
| OKLCH | oklch(0.661 0.184 279.8) |
Copy-ready code
/* CSS */
color: #7f80ff;
background-color: #7f80ff;
/* Tailwind (arbitrary) */
class="text-[#7f80ff] bg-[#7f80ff]"
/* SCSS */
$brand: #7f80ff;
/* SwiftUI */
Color(red: 0.498, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#7f80ff")Accessibility — WCAG contrast
Aa
#7f80ff on white: 3.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#7f80ff on black: 6.43:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red49.8%
Green50.2%
Blue100.0%
CMYK percentages
Cyan50.2%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#7f80ff text on a black background
contrast 6.43:1
Card sample
#7f80ff text on a white background
contrast 3.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7f80ff;
Background color
Panel with #7f80ff background
background-color: #7f80ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7f80ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(127, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7f80ff; background: linear-gradient(135deg, #7f80ff, #D37FFF);