#d4ccfa
a pale, electric blue · warm · closest name: lavender
RGB
212, 204, 250
HSL
250°, 82%, 89%
CMYK
15, 18, 0, 2
Luminance
0.6408
Every format
| HEX | #d4ccfa |
| RGB | rgb(212, 204, 250) |
| HSL | hsl(250, 82%, 89%) |
| CMYK | cmyk(15%, 18%, 0%, 2%) |
| LAB | lab(84.0 11.7 -21.5) |
| LCH | lch(84.0 24.5 298.5) |
| OKLCH | oklch(0.867 0.064 293.0) |
Copy-ready code
/* CSS */
color: #d4ccfa;
background-color: #d4ccfa;
/* Tailwind (arbitrary) */
class="text-[#d4ccfa] bg-[#d4ccfa]"
/* SCSS */
$brand: #d4ccfa;
/* SwiftUI */
Color(red: 0.831, green: 0.800, blue: 0.980)
/* Android */
Color.parseColor("#d4ccfa")Accessibility — WCAG contrast
Aa
#d4ccfa on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d4ccfa on black: 13.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green80.0%
Blue98.0%
CMYK percentages
Cyan15.2%
Magenta18.4%
Yellow0.0%
Key (black)2.0%
Color previews
#d4ccfa text on a black background
contrast 13.82:1
Card sample
#d4ccfa text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d4ccfa;
Background color
Panel with #d4ccfa background
background-color: #d4ccfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d4ccfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 204, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 204, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4ccfa; background: linear-gradient(135deg, #d4ccfa, #F3CCFA);