#deccfc
a pale, electric violet · warm · closest name: lavender
RGB
222, 204, 252
HSL
263°, 89%, 89%
CMYK
12, 19, 0, 1
Luminance
0.6574
Every format
| HEX | #deccfc |
| RGB | rgb(222, 204, 252) |
| HSL | hsl(263, 89%, 89%) |
| CMYK | cmyk(12%, 19%, 0%, 1%) |
| LAB | lab(84.9 15.2 -21.2) |
| LCH | lch(84.9 26.1 305.6) |
| OKLCH | oklch(0.875 0.068 302.1) |
Copy-ready code
/* CSS */
color: #deccfc;
background-color: #deccfc;
/* Tailwind (arbitrary) */
class="text-[#deccfc] bg-[#deccfc]"
/* SCSS */
$brand: #deccfc;
/* SwiftUI */
Color(red: 0.871, green: 0.800, blue: 0.988)
/* Android */
Color.parseColor("#deccfc")Accessibility — WCAG contrast
Aa
#deccfc on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#deccfc on black: 14.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green80.0%
Blue98.8%
CMYK percentages
Cyan11.9%
Magenta19.0%
Yellow0.0%
Key (black)1.2%
Color previews
#deccfc text on a black background
contrast 14.15:1
Card sample
#deccfc text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #deccfc;
Background color
Panel with #deccfc background
background-color: #deccfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #deccfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 204, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 204, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deccfc; background: linear-gradient(135deg, #deccfc, #FCCCFA);