#dec8ff
a pale, electric violet · warm · closest name: plum
RGB
222, 200, 255
HSL
264°, 100%, 89%
CMYK
13, 22, 0, 0
Luminance
0.6406
Every format
| HEX | #dec8ff |
| RGB | rgb(222, 200, 255) |
| HSL | hsl(264, 100%, 89%) |
| CMYK | cmyk(13%, 22%, 0%, 0%) |
| LAB | lab(84.0 18.0 -24.1) |
| LCH | lch(84.0 30.1 306.7) |
| OKLCH | oklch(0.869 0.078 303.0) |
Copy-ready code
/* CSS */
color: #dec8ff;
background-color: #dec8ff;
/* Tailwind (arbitrary) */
class="text-[#dec8ff] bg-[#dec8ff]"
/* SCSS */
$brand: #dec8ff;
/* SwiftUI */
Color(red: 0.871, green: 0.784, blue: 1.000)
/* Android */
Color.parseColor("#dec8ff")Accessibility — WCAG contrast
Aa
#dec8ff on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dec8ff on black: 13.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green78.4%
Blue100.0%
CMYK percentages
Cyan12.9%
Magenta21.6%
Yellow0.0%
Key (black)0.0%
Color previews
#dec8ff text on a black background
contrast 13.81:1
Card sample
#dec8ff text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dec8ff;
Background color
Panel with #dec8ff background
background-color: #dec8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dec8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 200, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 200, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec8ff; background: linear-gradient(135deg, #dec8ff, #FFC8FB);