#dec0f4
a pale, vivid violet · warm · closest name: plum
RGB
222, 192, 244
HSL
275°, 70%, 86%
CMYK
9, 21, 0, 4
Luminance
0.5976
Every format
| HEX | #dec0f4 |
| RGB | rgb(222, 192, 244) |
| HSL | hsl(275, 70%, 86%) |
| CMYK | cmyk(9%, 21%, 0%, 4%) |
| LAB | lab(81.7 20.0 -21.8) |
| LCH | lch(81.7 29.6 312.7) |
| OKLCH | oklch(0.850 0.078 310.7) |
Copy-ready code
/* CSS */
color: #dec0f4;
background-color: #dec0f4;
/* Tailwind (arbitrary) */
class="text-[#dec0f4] bg-[#dec0f4]"
/* SCSS */
$brand: #dec0f4;
/* SwiftUI */
Color(red: 0.871, green: 0.753, blue: 0.957)
/* Android */
Color.parseColor("#dec0f4")Accessibility — WCAG contrast
Aa
#dec0f4 on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dec0f4 on black: 12.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green75.3%
Blue95.7%
CMYK percentages
Cyan9.0%
Magenta21.3%
Yellow0.0%
Key (black)4.3%
Color previews
#dec0f4 text on a black background
contrast 12.95:1
Card sample
#dec0f4 text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dec0f4;
Background color
Panel with #dec0f4 background
background-color: #dec0f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dec0f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 192, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 192, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec0f4; background: linear-gradient(135deg, #dec0f4, #F4C0E7);