#cd50eb
a balanced, electric violet · warm · closest name: orchid
RGB
205, 80, 235
HSL
288°, 80%, 62%
CMYK
13, 66, 0, 8
Luminance
0.2471
Every format
| HEX | #cd50eb |
| RGB | rgb(205, 80, 235) |
| HSL | hsl(288, 80%, 62%) |
| CMYK | cmyk(13%, 66%, 0%, 8%) |
| LAB | lab(56.8 70.2 -55.8) |
| LCH | lch(56.8 89.6 321.5) |
| OKLCH | oklch(0.658 0.239 319.3) |
Copy-ready code
/* CSS */
color: #cd50eb;
background-color: #cd50eb;
/* Tailwind (arbitrary) */
class="text-[#cd50eb] bg-[#cd50eb]"
/* SCSS */
$brand: #cd50eb;
/* SwiftUI */
Color(red: 0.804, green: 0.314, blue: 0.922)
/* Android */
Color.parseColor("#cd50eb")Accessibility — WCAG contrast
Aa
#cd50eb on white: 3.53:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd50eb on black: 5.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green31.4%
Blue92.2%
CMYK percentages
Cyan12.8%
Magenta66.0%
Yellow0.0%
Key (black)7.8%
Color previews
#cd50eb text on a black background
contrast 5.94:1
Card sample
#cd50eb text on a white background
contrast 3.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd50eb;
Background color
Panel with #cd50eb background
background-color: #cd50eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd50eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 80, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 80, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd50eb; background: linear-gradient(135deg, #cd50eb, #EB50A2);