#cd2bee
a balanced, electric violet · warm · closest name: magenta
RGB
205, 43, 238
HSL
290°, 85%, 55%
CMYK
14, 82, 0, 7
Luminance
0.2088
Every format
| HEX | #cd2bee |
| RGB | rgb(205, 43, 238) |
| HSL | hsl(290, 85%, 55%) |
| CMYK | cmyk(14%, 82%, 0%, 7%) |
| LAB | lab(52.8 82.6 -63.8) |
| LCH | lch(52.8 104.4 322.3) |
| OKLCH | oklch(0.630 0.278 319.8) |
Copy-ready code
/* CSS */
color: #cd2bee;
background-color: #cd2bee;
/* Tailwind (arbitrary) */
class="text-[#cd2bee] bg-[#cd2bee]"
/* SCSS */
$brand: #cd2bee;
/* SwiftUI */
Color(red: 0.804, green: 0.169, blue: 0.933)
/* Android */
Color.parseColor("#cd2bee")Accessibility — WCAG contrast
Aa
#cd2bee on white: 4.06:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cd2bee on black: 5.18:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green16.9%
Blue93.3%
CMYK percentages
Cyan13.9%
Magenta81.9%
Yellow0.0%
Key (black)6.7%
Color previews
#cd2bee text on a black background
contrast 5.18:1
Card sample
#cd2bee text on a white background
contrast 4.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd2bee;
Background color
Panel with #cd2bee background
background-color: #cd2bee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd2bee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 43, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 43, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd2bee; background: linear-gradient(135deg, #cd2bee, #EE2B8D);