#ccadfd
a light, electric violet · warm · closest name: plum
RGB
204, 173, 253
HSL
263°, 95%, 84%
CMYK
19, 32, 0, 1
Luminance
0.4982
Every format
| HEX | #ccadfd |
| RGB | rgb(204, 173, 253) |
| HSL | hsl(263, 95%, 84%) |
| CMYK | cmyk(19%, 32%, 0%, 1%) |
| LAB | lab(76.0 26.7 -35.5) |
| LCH | lch(76.0 44.4 306.9) |
| OKLCH | oklch(0.803 0.115 301.7) |
Copy-ready code
/* CSS */
color: #ccadfd;
background-color: #ccadfd;
/* Tailwind (arbitrary) */
class="text-[#ccadfd] bg-[#ccadfd]"
/* SCSS */
$brand: #ccadfd;
/* SwiftUI */
Color(red: 0.800, green: 0.678, blue: 0.992)
/* Android */
Color.parseColor("#ccadfd")Accessibility — WCAG contrast
Aa
#ccadfd on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccadfd on black: 10.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.8%
Blue99.2%
CMYK percentages
Cyan19.4%
Magenta31.6%
Yellow0.0%
Key (black)0.8%
Color previews
#ccadfd text on a black background
contrast 10.96:1
Card sample
#ccadfd text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccadfd;
Background color
Panel with #ccadfd background
background-color: #ccadfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccadfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 173, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 173, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccadfd; background: linear-gradient(135deg, #ccadfd, #FDADF9);