#cd50ff
a light, electric violet · warm · closest name: magenta
RGB
205, 80, 255
HSL
283°, 100%, 66%
CMYK
20, 69, 0, 0
Luminance
0.2594
Every format
| HEX | #cd50ff |
| RGB | rgb(205, 80, 255) |
| HSL | hsl(283, 100%, 66%) |
| CMYK | cmyk(20%, 69%, 0%, 0%) |
| LAB | lab(58.0 74.0 -65.0) |
| LCH | lch(58.0 98.5 318.7) |
| OKLCH | oklch(0.670 0.257 314.5) |
Copy-ready code
/* CSS */
color: #cd50ff;
background-color: #cd50ff;
/* Tailwind (arbitrary) */
class="text-[#cd50ff] bg-[#cd50ff]"
/* SCSS */
$brand: #cd50ff;
/* SwiftUI */
Color(red: 0.804, green: 0.314, blue: 1.000)
/* Android */
Color.parseColor("#cd50ff")Accessibility — WCAG contrast
Aa
#cd50ff on white: 3.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd50ff on black: 6.19:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green31.4%
Blue100.0%
CMYK percentages
Cyan19.6%
Magenta68.6%
Yellow0.0%
Key (black)0.0%
Color previews
#cd50ff text on a black background
contrast 6.19:1
Card sample
#cd50ff text on a white background
contrast 3.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd50ff;
Background color
Panel with #cd50ff background
background-color: #cd50ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd50ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 80, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 80, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd50ff; background: linear-gradient(135deg, #cd50ff, #FF50BC);