Skip to content

#cd64ff

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

RGB
205, 100, 255
HSL
281°, 100%, 70%
CMYK
20, 61, 0, 0
Luminance
0.2931

Every format

HEX#cd64ff
RGBrgb(205, 100, 255)
HSLhsl(281, 100%, 70%)
CMYKcmyk(20%, 61%, 0%, 0%)
LABlab(61.1 65.4 -60.1)
LCHlch(61.1 88.8 317.4)
OKLCHoklch(0.692 0.232 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd64ff on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#cd64ff on black: 6.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green39.2%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta60.8%
Yellow0.0%
Key (black)0.0%

Color previews

#cd64ff text on a black background

contrast 6.86:1

Card sample

#cd64ff text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd64ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd64ff in the Color Lab