#ce3afd
a balanced, electric violet · warm · closest name: magenta
RGB
206, 58, 253
HSL
286°, 98%, 61%
CMYK
19, 77, 0, 1
Luminance
0.2324
Every format
| HEX | #ce3afd |
| RGB | rgb(206, 58, 253) |
| HSL | hsl(286, 98%, 61%) |
| CMYK | cmyk(19%, 77%, 0%, 1%) |
| LAB | lab(55.3 81.4 -68.2) |
| LCH | lch(55.3 106.2 320.1) |
| OKLCH | oklch(0.651 0.278 316.2) |
Copy-ready code
/* CSS */
color: #ce3afd;
background-color: #ce3afd;
/* Tailwind (arbitrary) */
class="text-[#ce3afd] bg-[#ce3afd]"
/* SCSS */
$brand: #ce3afd;
/* SwiftUI */
Color(red: 0.808, green: 0.227, blue: 0.992)
/* Android */
Color.parseColor("#ce3afd")Accessibility — WCAG contrast
Aa
#ce3afd on white: 3.72:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ce3afd on black: 5.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green22.7%
Blue99.2%
CMYK percentages
Cyan18.6%
Magenta77.1%
Yellow0.0%
Key (black)0.8%
Color previews
#ce3afd text on a black background
contrast 5.65:1
Card sample
#ce3afd text on a white background
contrast 3.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce3afd;
Background color
Panel with #ce3afd background
background-color: #ce3afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce3afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce3afd; background: linear-gradient(135deg, #ce3afd, #FD3AAA);