#cd2cfc
a balanced, electric violet · warm · closest name: magenta
RGB
205, 44, 252
HSL
286°, 97%, 58%
CMYK
19, 83, 0, 1
Luminance
0.2181
Every format
| HEX | #cd2cfc |
| RGB | rgb(205, 44, 252) |
| HSL | hsl(286, 97%, 58%) |
| CMYK | cmyk(19%, 83%, 0%, 1%) |
| LAB | lab(53.8 84.8 -70.0) |
| LCH | lch(53.8 110.0 320.4) |
| OKLCH | oklch(0.640 0.288 316.6) |
Copy-ready code
/* CSS */
color: #cd2cfc;
background-color: #cd2cfc;
/* Tailwind (arbitrary) */
class="text-[#cd2cfc] bg-[#cd2cfc]"
/* SCSS */
$brand: #cd2cfc;
/* SwiftUI */
Color(red: 0.804, green: 0.173, blue: 0.988)
/* Android */
Color.parseColor("#cd2cfc")Accessibility — WCAG contrast
Aa
#cd2cfc on white: 3.92:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd2cfc on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green17.3%
Blue98.8%
CMYK percentages
Cyan18.7%
Magenta82.5%
Yellow0.0%
Key (black)1.2%
Color previews
#cd2cfc text on a black background
contrast 5.36:1
Card sample
#cd2cfc text on a white background
contrast 3.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd2cfc;
Background color
Panel with #cd2cfc background
background-color: #cd2cfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd2cfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 44, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 44, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd2cfc; background: linear-gradient(135deg, #cd2cfc, #FC2CA0);