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