#cdcdf9
a pale, electric blue · warm · closest name: lavender
RGB
205, 205, 249
HSL
240°, 79%, 89%
CMYK
18, 18, 0, 2
Luminance
0.6348
Every format
| HEX | #cdcdf9 |
| RGB | rgb(205, 205, 249) |
| HSL | hsl(240, 79%, 89%) |
| CMYK | cmyk(18%, 18%, 0%, 2%) |
| LAB | lab(83.7 8.8 -21.5) |
| LCH | lch(83.7 23.2 292.1) |
| OKLCH | oklch(0.863 0.061 285.1) |
Copy-ready code
/* CSS */
color: #cdcdf9;
background-color: #cdcdf9;
/* Tailwind (arbitrary) */
class="text-[#cdcdf9] bg-[#cdcdf9]"
/* SCSS */
$brand: #cdcdf9;
/* SwiftUI */
Color(red: 0.804, green: 0.804, blue: 0.976)
/* Android */
Color.parseColor("#cdcdf9")Accessibility — WCAG contrast
Aa
#cdcdf9 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcdf9 on black: 13.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green80.4%
Blue97.6%
CMYK percentages
Cyan17.7%
Magenta17.7%
Yellow0.0%
Key (black)2.4%
Color previews
#cdcdf9 text on a black background
contrast 13.70:1
Card sample
#cdcdf9 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcdf9;
Background color
Panel with #cdcdf9 background
background-color: #cdcdf9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcdf9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 205, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 205, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcdf9; background: linear-gradient(135deg, #cdcdf9, #EACDF9);