#cd2cfd
a balanced, electric violet · warm · closest name: magenta
RGB
205, 44, 253
HSL
286°, 98%, 58%
CMYK
19, 83, 0, 1
Luminance
0.2187
Every format
| HEX | #cd2cfd |
| RGB | rgb(205, 44, 253) |
| HSL | hsl(286, 98%, 58%) |
| CMYK | cmyk(19%, 83%, 0%, 1%) |
| LAB | lab(53.9 85.0 -70.5) |
| LCH | lch(53.9 110.4 320.3) |
| OKLCH | oklch(0.641 0.289 316.4) |
Copy-ready code
/* CSS */
color: #cd2cfd;
background-color: #cd2cfd;
/* Tailwind (arbitrary) */
class="text-[#cd2cfd] bg-[#cd2cfd]"
/* SCSS */
$brand: #cd2cfd;
/* SwiftUI */
Color(red: 0.804, green: 0.173, blue: 0.992)
/* Android */
Color.parseColor("#cd2cfd")Accessibility — WCAG contrast
Aa
#cd2cfd on white: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd2cfd on black: 5.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green17.3%
Blue99.2%
CMYK percentages
Cyan19.0%
Magenta82.6%
Yellow0.0%
Key (black)0.8%
Color previews
#cd2cfd text on a black background
contrast 5.37:1
Card sample
#cd2cfd text on a white background
contrast 3.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd2cfd;
Background color
Panel with #cd2cfd background
background-color: #cd2cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd2cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd2cfd; background: linear-gradient(135deg, #cd2cfd, #FD2CA2);