#8c64df
a balanced, vivid violet · warm · closest name: slateblue
RGB
140, 100, 223
HSL
260°, 66%, 63%
CMYK
37, 55, 0, 13
Luminance
0.2002
Every format
| HEX | #8c64df |
| RGB | rgb(140, 100, 223) |
| HSL | hsl(260, 66%, 63%) |
| CMYK | cmyk(37%, 55%, 0%, 13%) |
| LAB | lab(51.9 42.9 -57.4) |
| LCH | lch(51.9 71.6 306.8) |
| OKLCH | oklch(0.603 0.180 295.5) |
Copy-ready code
/* CSS */
color: #8c64df;
background-color: #8c64df;
/* Tailwind (arbitrary) */
class="text-[#8c64df] bg-[#8c64df]"
/* SCSS */
$brand: #8c64df;
/* SwiftUI */
Color(red: 0.549, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#8c64df")Accessibility — WCAG contrast
Aa
#8c64df on white: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8c64df on black: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green39.2%
Blue87.5%
CMYK percentages
Cyan37.2%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#8c64df text on a black background
contrast 5.00:1
Card sample
#8c64df text on a white background
contrast 4.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c64df;
Background color
Panel with #8c64df background
background-color: #8c64df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c64df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c64df; background: linear-gradient(135deg, #8c64df, #DE64DF);