#784cff
a balanced, electric blue · warm · closest name: blue
RGB
120, 76, 255
HSL
255°, 100%, 65%
CMYK
53, 70, 0, 0
Luminance
0.1638
Every format
| HEX | #784cff |
| RGB | rgb(120, 76, 255) |
| HSL | hsl(255, 100%, 65%) |
| CMYK | cmyk(53%, 70%, 0%, 0%) |
| LAB | lab(47.5 60.6 -82.5) |
| LCH | lch(47.5 102.4 306.3) |
| OKLCH | oklch(0.574 0.248 287.0) |
Copy-ready code
/* CSS */
color: #784cff;
background-color: #784cff;
/* Tailwind (arbitrary) */
class="text-[#784cff] bg-[#784cff]"
/* SCSS */
$brand: #784cff;
/* SwiftUI */
Color(red: 0.471, green: 0.298, blue: 1.000)
/* Android */
Color.parseColor("#784cff")Accessibility — WCAG contrast
Aa
#784cff on white: 4.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#784cff on black: 4.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.1%
Green29.8%
Blue100.0%
CMYK percentages
Cyan52.9%
Magenta70.2%
Yellow0.0%
Key (black)0.0%
Color previews
#784cff text on a black background
contrast 4.28:1
Card sample
#784cff text on a white background
contrast 4.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #784cff;
Background color
Panel with #784cff background
background-color: #784cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #784cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(120, 76, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 76, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #784cff; background: linear-gradient(135deg, #784cff, #EF4CFF);