#d4ccff
a pale, electric blue · warm · closest name: lavender
RGB
212, 204, 255
HSL
249°, 100%, 90%
CMYK
17, 20, 0, 0
Luminance
0.6440
Every format
| HEX | #d4ccff |
| RGB | rgb(212, 204, 255) |
| HSL | hsl(249, 100%, 90%) |
| CMYK | cmyk(17%, 20%, 0%, 0%) |
| LAB | lab(84.2 12.7 -23.9) |
| LCH | lch(84.2 27.1 298.0) |
| OKLCH | oklch(0.868 0.070 292.1) |
Copy-ready code
/* CSS */
color: #d4ccff;
background-color: #d4ccff;
/* Tailwind (arbitrary) */
class="text-[#d4ccff] bg-[#d4ccff]"
/* SCSS */
$brand: #d4ccff;
/* SwiftUI */
Color(red: 0.831, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#d4ccff")Accessibility — WCAG contrast
Aa
#d4ccff on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d4ccff on black: 13.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green80.0%
Blue100.0%
CMYK percentages
Cyan16.9%
Magenta20.0%
Yellow0.0%
Key (black)0.0%
Color previews
#d4ccff text on a black background
contrast 13.88:1
Card sample
#d4ccff text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d4ccff;
Background color
Panel with #d4ccff background
background-color: #d4ccff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d4ccff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 204, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 204, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4ccff; background: linear-gradient(135deg, #d4ccff, #F6CCFF);