#ce4af3
a balanced, electric violet · warm · closest name: magenta
RGB
206, 74, 243
HSL
287°, 88%, 62%
CMYK
15, 70, 0, 5
Luminance
0.2449
Every format
| HEX | #ce4af3 |
| RGB | rgb(206, 74, 243) |
| HSL | hsl(287, 88%, 62%) |
| CMYK | cmyk(15%, 70%, 0%, 5%) |
| LAB | lab(56.6 74.2 -60.6) |
| LCH | lch(56.6 95.8 320.8) |
| OKLCH | oklch(0.658 0.254 317.9) |
Copy-ready code
/* CSS */
color: #ce4af3;
background-color: #ce4af3;
/* Tailwind (arbitrary) */
class="text-[#ce4af3] bg-[#ce4af3]"
/* SCSS */
$brand: #ce4af3;
/* SwiftUI */
Color(red: 0.808, green: 0.290, blue: 0.953)
/* Android */
Color.parseColor("#ce4af3")Accessibility — WCAG contrast
Aa
#ce4af3 on white: 3.56:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ce4af3 on black: 5.90:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green29.0%
Blue95.3%
CMYK percentages
Cyan15.2%
Magenta69.5%
Yellow0.0%
Key (black)4.7%
Color previews
#ce4af3 text on a black background
contrast 5.90:1
Card sample
#ce4af3 text on a white background
contrast 3.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce4af3;
Background color
Panel with #ce4af3 background
background-color: #ce4af3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce4af3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 74, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 74, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce4af3; background: linear-gradient(135deg, #ce4af3, #F34AA7);