#8065df
a balanced, vivid blue · warm · closest name: slateblue
RGB
128, 101, 223
HSL
253°, 66%, 64%
CMYK
43, 55, 0, 13
Luminance
0.1922
Every format
| HEX | #8065df |
| RGB | rgb(128, 101, 223) |
| HSL | hsl(253, 66%, 64%) |
| CMYK | cmyk(43%, 55%, 0%, 13%) |
| LAB | lab(51.0 39.6 -58.9) |
| LCH | lch(51.0 71.0 303.9) |
| OKLCH | oklch(0.594 0.178 290.1) |
Copy-ready code
/* CSS */
color: #8065df;
background-color: #8065df;
/* Tailwind (arbitrary) */
class="text-[#8065df] bg-[#8065df]"
/* SCSS */
$brand: #8065df;
/* SwiftUI */
Color(red: 0.502, green: 0.396, blue: 0.875)
/* Android */
Color.parseColor("#8065df")Accessibility — WCAG contrast
Aa
#8065df on white: 4.33:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8065df on black: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green39.6%
Blue87.5%
CMYK percentages
Cyan42.6%
Magenta54.7%
Yellow0.0%
Key (black)12.5%
Color previews
#8065df text on a black background
contrast 4.84:1
Card sample
#8065df text on a white background
contrast 4.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8065df;
Background color
Panel with #8065df background
background-color: #8065df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8065df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 101, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 101, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8065df; background: linear-gradient(135deg, #8065df, #D165DF);