#8084ff
a light, electric blue · warm · closest name: royalblue
RGB
128, 132, 255
HSL
238°, 100%, 75%
CMYK
50, 48, 0, 0
Luminance
0.2831
Every format
| HEX | #8084ff |
| RGB | rgb(128, 132, 255) |
| HSL | hsl(238, 100%, 75%) |
| CMYK | cmyk(50%, 48%, 0%, 0%) |
| LAB | lab(60.2 30.8 -61.9) |
| LCH | lch(60.2 69.1 296.4) |
| OKLCH | oklch(0.669 0.178 279.0) |
Copy-ready code
/* CSS */
color: #8084ff;
background-color: #8084ff;
/* Tailwind (arbitrary) */
class="text-[#8084ff] bg-[#8084ff]"
/* SCSS */
$brand: #8084ff;
/* SwiftUI */
Color(red: 0.502, green: 0.518, blue: 1.000)
/* Android */
Color.parseColor("#8084ff")Accessibility — WCAG contrast
Aa
#8084ff on white: 3.15:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8084ff on black: 6.66:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green51.8%
Blue100.0%
CMYK percentages
Cyan49.8%
Magenta48.2%
Yellow0.0%
Key (black)0.0%
Color previews
#8084ff text on a black background
contrast 6.66:1
Card sample
#8084ff text on a white background
contrast 3.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8084ff;
Background color
Panel with #8084ff background
background-color: #8084ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8084ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 132, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 132, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8084ff; background: linear-gradient(135deg, #8084ff, #D180FF);