#9f64df
a balanced, vivid violet · warm · closest name: slateblue
RGB
159, 100, 223
HSL
269°, 66%, 63%
CMYK
29, 55, 0, 13
Luminance
0.2181
Every format
| HEX | #9f64df |
| RGB | rgb(159, 100, 223) |
| HSL | hsl(269, 66%, 63%) |
| CMYK | cmyk(29%, 55%, 0%, 13%) |
| LAB | lab(53.8 47.5 -54.1) |
| LCH | lch(53.8 72.0 311.3) |
| OKLCH | oklch(0.622 0.183 303.7) |
Copy-ready code
/* CSS */
color: #9f64df;
background-color: #9f64df;
/* Tailwind (arbitrary) */
class="text-[#9f64df] bg-[#9f64df]"
/* SCSS */
$brand: #9f64df;
/* SwiftUI */
Color(red: 0.624, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#9f64df")Accessibility — WCAG contrast
Aa
#9f64df on white: 3.92:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9f64df on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green39.2%
Blue87.5%
CMYK percentages
Cyan28.7%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#9f64df text on a black background
contrast 5.36:1
Card sample
#9f64df text on a white background
contrast 3.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9f64df;
Background color
Panel with #9f64df background
background-color: #9f64df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9f64df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f64df; background: linear-gradient(135deg, #9f64df, #DF64CD);