#d1cefa
a pale, electric blue · warm · closest name: lavender
RGB
209, 206, 250
HSL
244°, 82%, 89%
CMYK
16, 18, 0, 2
Luminance
0.6460
Every format
| HEX | #d1cefa |
| RGB | rgb(209, 206, 250) |
| HSL | hsl(244, 82%, 89%) |
| CMYK | cmyk(16%, 18%, 0%, 2%) |
| LAB | lab(84.3 9.7 -21.1) |
| LCH | lch(84.3 23.3 294.6) |
| OKLCH | oklch(0.868 0.061 288.2) |
Copy-ready code
/* CSS */
color: #d1cefa;
background-color: #d1cefa;
/* Tailwind (arbitrary) */
class="text-[#d1cefa] bg-[#d1cefa]"
/* SCSS */
$brand: #d1cefa;
/* SwiftUI */
Color(red: 0.820, green: 0.808, blue: 0.980)
/* Android */
Color.parseColor("#d1cefa")Accessibility — WCAG contrast
Aa
#d1cefa on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d1cefa on black: 13.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red82.0%
Green80.8%
Blue98.0%
CMYK percentages
Cyan16.4%
Magenta17.6%
Yellow0.0%
Key (black)2.0%
Color previews
#d1cefa text on a black background
contrast 13.92:1
Card sample
#d1cefa text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d1cefa;
Background color
Panel with #d1cefa background
background-color: #d1cefa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d1cefa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(209, 206, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 206, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d1cefa; background: linear-gradient(135deg, #d1cefa, #EECEFA);