#7968df
a balanced, vivid blue · warm · closest name: slateblue
RGB
121, 104, 223
HSL
249°, 65%, 64%
CMYK
46, 53, 0, 13
Luminance
0.1929
Every format
| HEX | #7968df |
| RGB | rgb(121, 104, 223) |
| HSL | hsl(249, 65%, 64%) |
| CMYK | cmyk(46%, 53%, 0%, 13%) |
| LAB | lab(51.0 36.3 -58.8) |
| LCH | lch(51.0 69.1 301.7) |
| OKLCH | oklch(0.593 0.174 286.3) |
Copy-ready code
/* CSS */
color: #7968df;
background-color: #7968df;
/* Tailwind (arbitrary) */
class="text-[#7968df] bg-[#7968df]"
/* SCSS */
$brand: #7968df;
/* SwiftUI */
Color(red: 0.475, green: 0.408, blue: 0.875)
/* Android */
Color.parseColor("#7968df")Accessibility — WCAG contrast
Aa
#7968df on white: 4.32:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#7968df on black: 4.86:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.5%
Green40.8%
Blue87.5%
CMYK percentages
Cyan45.7%
Magenta53.4%
Yellow0.0%
Key (black)12.5%
Color previews
#7968df text on a black background
contrast 4.86:1
Card sample
#7968df text on a white background
contrast 4.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7968df;
Background color
Panel with #7968df background
background-color: #7968df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7968df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(121, 104, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 104, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7968df; background: linear-gradient(135deg, #7968df, #C868DF);