Skip to content

#cd64fc

a light, electric violet · warm · closest name: violet

RGB
205, 100, 252
HSL
281°, 96%, 69%
CMYK
19, 60, 0, 1
Luminance
0.2912

Every format

HEX#cd64fc
RGBrgb(205, 100, 252)
HSLhsl(281, 96%, 69%)
CMYKcmyk(19%, 60%, 0%, 1%)
LABlab(60.9 64.8 -58.7)
LCHlch(60.9 87.4 317.8)
OKLCHoklch(0.691 0.229 313.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd64fc on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#cd64fc on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green39.2%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta60.3%
Yellow0.0%
Key (black)1.2%

Color previews

#cd64fc text on a black background

contrast 6.82:1

Card sample

#cd64fc text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 100, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 100, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd64fc;
background: linear-gradient(135deg, #cd64fc, #FC64C6);

Monochromatic scale

Palettes built from #cd64fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd64fc in the Color Lab