#deccfb
a pale, electric violet · warm · closest name: lavender
RGB
222, 204, 251
HSL
263°, 86%, 89%
CMYK
12, 19, 0, 2
Luminance
0.6568
Every format
| HEX | #deccfb |
| RGB | rgb(222, 204, 251) |
| HSL | hsl(263, 86%, 89%) |
| CMYK | cmyk(12%, 19%, 0%, 2%) |
| LAB | lab(84.8 15.0 -20.7) |
| LCH | lch(84.8 25.6 305.9) |
| OKLCH | oklch(0.875 0.067 302.5) |
Copy-ready code
/* CSS */
color: #deccfb;
background-color: #deccfb;
/* Tailwind (arbitrary) */
class="text-[#deccfb] bg-[#deccfb]"
/* SCSS */
$brand: #deccfb;
/* SwiftUI */
Color(red: 0.871, green: 0.800, blue: 0.984)
/* Android */
Color.parseColor("#deccfb")Accessibility — WCAG contrast
Aa
#deccfb on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#deccfb on black: 14.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green80.0%
Blue98.4%
CMYK percentages
Cyan11.6%
Magenta18.7%
Yellow0.0%
Key (black)1.6%
Color previews
#deccfb text on a black background
contrast 14.14:1
Card sample
#deccfb text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #deccfb;
Background color
Panel with #deccfb background
background-color: #deccfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #deccfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 204, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 204, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deccfb; background: linear-gradient(135deg, #deccfb, #FBCCF9);