#dec5ff
a pale, electric violet · warm · closest name: plum
RGB
222, 197, 255
HSL
266°, 100%, 89%
CMYK
13, 23, 0, 0
Luminance
0.6268
Every format
| HEX | #dec5ff |
| RGB | rgb(222, 197, 255) |
| HSL | hsl(266, 100%, 89%) |
| CMYK | cmyk(13%, 23%, 0%, 0%) |
| LAB | lab(83.3 19.6 -25.2) |
| LCH | lch(83.3 31.9 307.8) |
| OKLCH | oklch(0.863 0.083 304.3) |
Copy-ready code
/* CSS */
color: #dec5ff;
background-color: #dec5ff;
/* Tailwind (arbitrary) */
class="text-[#dec5ff] bg-[#dec5ff]"
/* SCSS */
$brand: #dec5ff;
/* SwiftUI */
Color(red: 0.871, green: 0.773, blue: 1.000)
/* Android */
Color.parseColor("#dec5ff")Accessibility — WCAG contrast
Aa
#dec5ff on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dec5ff on black: 13.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green77.3%
Blue100.0%
CMYK percentages
Cyan12.9%
Magenta22.7%
Yellow0.0%
Key (black)0.0%
Color previews
#dec5ff text on a black background
contrast 13.54:1
Card sample
#dec5ff text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dec5ff;
Background color
Panel with #dec5ff background
background-color: #dec5ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dec5ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 197, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 197, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec5ff; background: linear-gradient(135deg, #dec5ff, #FFC5F9);