Skip to content

#7c64df

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

RGB
124, 100, 223
HSL
252°, 66%, 63%
CMYK
44, 55, 0, 13
Luminance
0.1873

Every format

HEX#7c64df
RGBrgb(124, 100, 223)
HSLhsl(252, 66%, 63%)
CMYKcmyk(44%, 55%, 0%, 13%)
LABlab(50.4 39.3 -59.9)
LCHlch(50.4 71.6 303.3)
OKLCHoklch(0.588 0.180 288.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c64df on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#7c64df on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green39.2%
Blue87.5%

CMYK percentages

Cyan44.4%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#7c64df text on a black background

contrast 4.75:1

Card sample

#7c64df text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7c64df;
Background color
Panel with #7c64df background
background-color: #7c64df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7c64df;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #7c64df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7c64df in the Color Lab