#dec8f4
a pale, vivid violet · warm · closest name: lavender
RGB
222, 200, 244
HSL
270°, 67%, 87%
CMYK
9, 18, 0, 4
Luminance
0.6337
Every format
| HEX | #dec8f4 |
| RGB | rgb(222, 200, 244) |
| HSL | hsl(270, 67%, 87%) |
| CMYK | cmyk(9%, 18%, 0%, 4%) |
| LAB | lab(83.6 15.8 -18.8) |
| LCH | lch(83.6 24.6 309.9) |
| OKLCH | oklch(0.865 0.064 307.6) |
Copy-ready code
/* CSS */
color: #dec8f4;
background-color: #dec8f4;
/* Tailwind (arbitrary) */
class="text-[#dec8f4] bg-[#dec8f4]"
/* SCSS */
$brand: #dec8f4;
/* SwiftUI */
Color(red: 0.871, green: 0.784, blue: 0.957)
/* Android */
Color.parseColor("#dec8f4")Accessibility — WCAG contrast
Aa
#dec8f4 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dec8f4 on black: 13.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green78.4%
Blue95.7%
CMYK percentages
Cyan9.0%
Magenta18.0%
Yellow0.0%
Key (black)4.3%
Color previews
#dec8f4 text on a black background
contrast 13.67:1
Card sample
#dec8f4 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dec8f4;
Background color
Panel with #dec8f4 background
background-color: #dec8f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dec8f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 200, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 200, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec8f4; background: linear-gradient(135deg, #dec8f4, #F4C8ED);