#ce4fec
a balanced, electric violet · warm · closest name: violet
RGB
206, 79, 236
HSL
289°, 81%, 62%
CMYK
13, 67, 0, 8
Luminance
0.2477
Every format
| HEX | #ce4fec |
| RGB | rgb(206, 79, 236) |
| HSL | hsl(289, 81%, 62%) |
| CMYK | cmyk(13%, 67%, 0%, 8%) |
| LAB | lab(56.9 71.0 -56.2) |
| LCH | lch(56.9 90.5 321.6) |
| OKLCH | oklch(0.659 0.242 319.4) |
Copy-ready code
/* CSS */
color: #ce4fec;
background-color: #ce4fec;
/* Tailwind (arbitrary) */
class="text-[#ce4fec] bg-[#ce4fec]"
/* SCSS */
$brand: #ce4fec;
/* SwiftUI */
Color(red: 0.808, green: 0.310, blue: 0.925)
/* Android */
Color.parseColor("#ce4fec")Accessibility — WCAG contrast
Aa
#ce4fec on white: 3.53:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ce4fec on black: 5.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green31.0%
Blue92.5%
CMYK percentages
Cyan12.7%
Magenta66.5%
Yellow0.0%
Key (black)7.5%
Color previews
#ce4fec text on a black background
contrast 5.95:1
Card sample
#ce4fec text on a white background
contrast 3.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce4fec;
Background color
Panel with #ce4fec background
background-color: #ce4fec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce4fec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 79, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 79, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce4fec; background: linear-gradient(135deg, #ce4fec, #EC4FA2);