#cd1cff
a balanced, electric violet · warm · closest name: magenta
RGB
205, 28, 255
HSL
287°, 100%, 56%
CMYK
20, 89, 0, 0
Luminance
0.2103
Every format
| HEX | #cd1cff |
| RGB | rgb(205, 28, 255) |
| HSL | hsl(287, 100%, 56%) |
| CMYK | cmyk(20%, 89%, 0%, 0%) |
| LAB | lab(53.0 88.4 -73.1) |
| LCH | lch(53.0 114.7 320.4) |
| OKLCH | oklch(0.635 0.299 316.3) |
Copy-ready code
/* CSS */
color: #cd1cff;
background-color: #cd1cff;
/* Tailwind (arbitrary) */
class="text-[#cd1cff] bg-[#cd1cff]"
/* SCSS */
$brand: #cd1cff;
/* SwiftUI */
Color(red: 0.804, green: 0.110, blue: 1.000)
/* Android */
Color.parseColor("#cd1cff")Accessibility — WCAG contrast
Aa
#cd1cff on white: 4.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd1cff on black: 5.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green11.0%
Blue100.0%
CMYK percentages
Cyan19.6%
Magenta89.0%
Yellow0.0%
Key (black)0.0%
Color previews
#cd1cff text on a black background
contrast 5.21:1
Card sample
#cd1cff text on a white background
contrast 4.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd1cff;
Background color
Panel with #cd1cff background
background-color: #cd1cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd1cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 28, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 28, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd1cff; background: linear-gradient(135deg, #cd1cff, #FF1C9A);