#ce2def
a balanced, electric violet · warm · closest name: magenta
RGB
206, 45, 239
HSL
290°, 86%, 56%
CMYK
14, 81, 0, 6
Luminance
0.2123
Every format
| HEX | #ce2def |
| RGB | rgb(206, 45, 239) |
| HSL | hsl(290, 86%, 56%) |
| CMYK | cmyk(14%, 81%, 0%, 6%) |
| LAB | lab(53.2 82.5 -63.8) |
| LCH | lch(53.2 104.2 322.3) |
| OKLCH | oklch(0.633 0.278 319.8) |
Copy-ready code
/* CSS */
color: #ce2def;
background-color: #ce2def;
/* Tailwind (arbitrary) */
class="text-[#ce2def] bg-[#ce2def]"
/* SCSS */
$brand: #ce2def;
/* SwiftUI */
Color(red: 0.808, green: 0.176, blue: 0.937)
/* Android */
Color.parseColor("#ce2def")Accessibility — WCAG contrast
Aa
#ce2def on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ce2def on black: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green17.6%
Blue93.7%
CMYK percentages
Cyan13.8%
Magenta81.2%
Yellow0.0%
Key (black)6.3%
Color previews
#ce2def text on a black background
contrast 5.25:1
Card sample
#ce2def text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce2def;
Background color
Panel with #ce2def background
background-color: #ce2def;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce2def;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 45, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 45, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce2def; background: linear-gradient(135deg, #ce2def, #EF2D8F);