#deccfd
a pale, electric violet · warm · closest name: lavender
RGB
222, 204, 253
HSL
262°, 93%, 90%
CMYK
12, 19, 0, 1
Luminance
0.6581
Every format
| HEX | #deccfd |
| RGB | rgb(222, 204, 253) |
| HSL | hsl(262, 93%, 90%) |
| CMYK | cmyk(12%, 19%, 0%, 1%) |
| LAB | lab(84.9 15.4 -21.7) |
| LCH | lch(84.9 26.6 305.4) |
| OKLCH | oklch(0.876 0.069 301.7) |
Copy-ready code
/* CSS */
color: #deccfd;
background-color: #deccfd;
/* Tailwind (arbitrary) */
class="text-[#deccfd] bg-[#deccfd]"
/* SCSS */
$brand: #deccfd;
/* SwiftUI */
Color(red: 0.871, green: 0.800, blue: 0.992)
/* Android */
Color.parseColor("#deccfd")Accessibility — WCAG contrast
Aa
#deccfd on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#deccfd on black: 14.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green80.0%
Blue99.2%
CMYK percentages
Cyan12.3%
Magenta19.4%
Yellow0.0%
Key (black)0.8%
Color previews
#deccfd text on a black background
contrast 14.16:1
Card sample
#deccfd text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #deccfd;
Background color
Panel with #deccfd background
background-color: #deccfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #deccfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 204, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 204, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deccfd; background: linear-gradient(135deg, #deccfd, #FDCCFB);