#decdfb
a pale, electric violet · warm · closest name: lavender
RGB
222, 205, 251
HSL
262°, 85%, 89%
CMYK
12, 18, 0, 2
Luminance
0.6616
Every format
| HEX | #decdfb |
| RGB | rgb(222, 205, 251) |
| HSL | hsl(262, 85%, 89%) |
| CMYK | cmyk(12%, 18%, 0%, 2%) |
| LAB | lab(85.1 14.5 -20.4) |
| LCH | lch(85.1 25.0 305.4) |
| OKLCH | oklch(0.877 0.065 301.9) |
Copy-ready code
/* CSS */
color: #decdfb;
background-color: #decdfb;
/* Tailwind (arbitrary) */
class="text-[#decdfb] bg-[#decdfb]"
/* SCSS */
$brand: #decdfb;
/* SwiftUI */
Color(red: 0.871, green: 0.804, blue: 0.984)
/* Android */
Color.parseColor("#decdfb")Accessibility — WCAG contrast
Aa
#decdfb on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#decdfb on black: 14.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green80.4%
Blue98.4%
CMYK percentages
Cyan11.6%
Magenta18.3%
Yellow0.0%
Key (black)1.6%
Color previews
#decdfb text on a black background
contrast 14.23:1
Card sample
#decdfb text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #decdfb;
Background color
Panel with #decdfb background
background-color: #decdfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #decdfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 205, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 205, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decdfb; background: linear-gradient(135deg, #decdfb, #FBCDF9);