#decafb
a pale, electric violet · warm · closest name: lavender
RGB
222, 202, 251
HSL
265°, 86%, 89%
CMYK
12, 20, 0, 2
Luminance
0.6474
Every format
| HEX | #decafb |
| RGB | rgb(222, 202, 251) |
| HSL | hsl(265, 86%, 89%) |
| CMYK | cmyk(12%, 20%, 0%, 2%) |
| LAB | lab(84.3 16.1 -21.5) |
| LCH | lch(84.3 26.8 306.8) |
| OKLCH | oklch(0.871 0.070 303.6) |
Copy-ready code
/* CSS */
color: #decafb;
background-color: #decafb;
/* Tailwind (arbitrary) */
class="text-[#decafb] bg-[#decafb]"
/* SCSS */
$brand: #decafb;
/* SwiftUI */
Color(red: 0.871, green: 0.792, blue: 0.984)
/* Android */
Color.parseColor("#decafb")Accessibility — WCAG contrast
Aa
#decafb on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#decafb on black: 13.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green79.2%
Blue98.4%
CMYK percentages
Cyan11.6%
Magenta19.5%
Yellow0.0%
Key (black)1.6%
Color previews
#decafb text on a black background
contrast 13.95:1
Card sample
#decafb text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #decafb;
Background color
Panel with #decafb background
background-color: #decafb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #decafb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 202, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 202, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decafb; background: linear-gradient(135deg, #decafb, #FBCAF7);