#cd64f4
a light, electric violet · warm · closest name: violet
RGB
205, 100, 244
HSL
284°, 87%, 68%
CMYK
16, 59, 0, 4
Luminance
0.2863
Every format
| HEX | #cd64f4 |
| RGB | rgb(205, 100, 244) |
| HSL | hsl(284, 87%, 68%) |
| CMYK | cmyk(16%, 59%, 0%, 4%) |
| LAB | lab(60.5 63.2 -55.0) |
| LCH | lch(60.5 83.8 319.0) |
| OKLCH | oklch(0.686 0.221 315.8) |
Copy-ready code
/* CSS */
color: #cd64f4;
background-color: #cd64f4;
/* Tailwind (arbitrary) */
class="text-[#cd64f4] bg-[#cd64f4]"
/* SCSS */
$brand: #cd64f4;
/* SwiftUI */
Color(red: 0.804, green: 0.392, blue: 0.957)
/* Android */
Color.parseColor("#cd64f4")Accessibility — WCAG contrast
Aa
#cd64f4 on white: 3.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd64f4 on black: 6.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green39.2%
Blue95.7%
CMYK percentages
Cyan16.0%
Magenta59.0%
Yellow0.0%
Key (black)4.3%
Color previews
#cd64f4 text on a black background
contrast 6.73:1
Card sample
#cd64f4 text on a white background
contrast 3.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd64f4;
Background color
Panel with #cd64f4 background
background-color: #cd64f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd64f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 100, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 100, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd64f4; background: linear-gradient(135deg, #cd64f4, #F464BB);