Skip to content

#7964df

a balanced, vivid blue · warm · closest name: slateblue

RGB
121, 100, 223
HSL
250°, 66%, 63%
CMYK
46, 55, 0, 13
Luminance
0.1851

Every format

HEX#7964df
RGBrgb(121, 100, 223)
HSLhsl(250, 66%, 63%)
CMYKcmyk(46%, 55%, 0%, 13%)
LABlab(50.1 38.6 -60.3)
LCHlch(50.1 71.6 302.7)
OKLCHoklch(0.586 0.180 287.3)

Copy-ready code

/* CSS */
color: #7964df;
background-color: #7964df;
/* Tailwind (arbitrary) */
class="text-[#7964df] bg-[#7964df]"
/* SCSS */
$brand: #7964df;
/* SwiftUI */
Color(red: 0.475, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#7964df")

Accessibility — WCAG contrast

Aa
#7964df on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#7964df on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green39.2%
Blue87.5%

CMYK percentages

Cyan45.7%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#7964df text on a black background

contrast 4.70:1

Card sample

#7964df text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7964df;
Background color
Panel with #7964df background
background-color: #7964df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7964df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(121, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7964df;
background: linear-gradient(135deg, #7964df, #CB64DF);

Monochromatic scale

Palettes built from #7964df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7964df in the Color Lab