#d2cdfa
a pale, electric blue · warm · closest name: lavender
RGB
210, 205, 250
HSL
247°, 82%, 89%
CMYK
16, 18, 0, 2
Luminance
0.6427
Every format
| HEX | #d2cdfa |
| RGB | rgb(210, 205, 250) |
| HSL | hsl(247, 82%, 89%) |
| CMYK | cmyk(16%, 18%, 0%, 2%) |
| LAB | lab(84.1 10.5 -21.4) |
| LCH | lch(84.1 23.9 296.2) |
| OKLCH | oklch(0.867 0.062 290.1) |
Copy-ready code
/* CSS */
color: #d2cdfa;
background-color: #d2cdfa;
/* Tailwind (arbitrary) */
class="text-[#d2cdfa] bg-[#d2cdfa]"
/* SCSS */
$brand: #d2cdfa;
/* SwiftUI */
Color(red: 0.824, green: 0.804, blue: 0.980)
/* Android */
Color.parseColor("#d2cdfa")Accessibility — WCAG contrast
Aa
#d2cdfa on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d2cdfa on black: 13.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red82.4%
Green80.4%
Blue98.0%
CMYK percentages
Cyan16.0%
Magenta18.0%
Yellow0.0%
Key (black)2.0%
Color previews
#d2cdfa text on a black background
contrast 13.85:1
Card sample
#d2cdfa text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d2cdfa;
Background color
Panel with #d2cdfa background
background-color: #d2cdfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d2cdfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(210, 205, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 205, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2cdfa; background: linear-gradient(135deg, #d2cdfa, #F0CDFA);