Skip to content

#c64df4

a balanced, electric violet · warm · closest name: magenta

RGB
198, 77, 244
HSL
284°, 88%, 63%
CMYK
19, 68, 0, 4
Luminance
0.2385

Every format

HEX#c64df4
RGBrgb(198, 77, 244)
HSLhsl(284, 88%, 63%)
CMYKcmyk(19%, 68%, 0%, 4%)
LABlab(55.9 71.6 -62.2)
LCHlch(55.9 94.9 319.0)
OKLCHoklch(0.652 0.248 315.1)

Copy-ready code

/* CSS */
color: #c64df4;
background-color: #c64df4;
/* Tailwind (arbitrary) */
class="text-[#c64df4] bg-[#c64df4]"
/* SCSS */
$brand: #c64df4;
/* SwiftUI */
Color(red: 0.776, green: 0.302, blue: 0.957)
/* Android */
Color.parseColor("#c64df4")

Accessibility — WCAG contrast

Aa
#c64df4 on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#c64df4 on black: 5.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.6%
Green30.2%
Blue95.7%

CMYK percentages

Cyan18.9%
Magenta68.4%
Yellow0.0%
Key (black)4.3%

Color previews

#c64df4 text on a black background

contrast 5.77:1

Card sample

#c64df4 text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(198, 77, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 77, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c64df4;
background: linear-gradient(135deg, #c64df4, #F44DB3);

Monochromatic scale

Palettes built from #c64df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c64df4 in the Color Lab