#8064df
a balanced, vivid blue · warm · closest name: slateblue
RGB
128, 100, 223
HSL
254°, 66%, 63%
CMYK
43, 55, 0, 13
Luminance
0.1903
Every format
| HEX | #8064df |
| RGB | rgb(128, 100, 223) |
| HSL | hsl(254, 66%, 63%) |
| CMYK | cmyk(43%, 55%, 0%, 13%) |
| LAB | lab(50.7 40.2 -59.3) |
| LCH | lch(50.7 71.6 304.1) |
| OKLCH | oklch(0.592 0.180 290.3) |
Copy-ready code
/* CSS */
color: #8064df;
background-color: #8064df;
/* Tailwind (arbitrary) */
class="text-[#8064df] bg-[#8064df]"
/* SCSS */
$brand: #8064df;
/* SwiftUI */
Color(red: 0.502, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#8064df")Accessibility — WCAG contrast
Aa
#8064df on white: 4.37:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8064df on black: 4.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green39.2%
Blue87.5%
CMYK percentages
Cyan42.6%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#8064df text on a black background
contrast 4.81:1
Card sample
#8064df text on a white background
contrast 4.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8064df;
Background color
Panel with #8064df background
background-color: #8064df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8064df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8064df; background: linear-gradient(135deg, #8064df, #D264DF);