#ccc7d1
a light, muted violet · warm · closest name: silver
RGB
204, 199, 209
HSL
270°, 10%, 80%
CMYK
2, 5, 0, 18
Luminance
0.5829
Every format
| HEX | #ccc7d1 |
| RGB | rgb(204, 199, 209) |
| HSL | hsl(270, 10%, 80%) |
| CMYK | cmyk(2%, 5%, 0%, 18%) |
| LAB | lab(80.9 3.6 -4.4) |
| LCH | lch(80.9 5.6 309.3) |
| OKLCH | oklch(0.837 0.015 308.3) |
Copy-ready code
/* CSS */
color: #ccc7d1;
background-color: #ccc7d1;
/* Tailwind (arbitrary) */
class="text-[#ccc7d1] bg-[#ccc7d1]"
/* SCSS */
$brand: #ccc7d1;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.820)
/* Android */
Color.parseColor("#ccc7d1")Accessibility — WCAG contrast
Aa
#ccc7d1 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc7d1 on black: 12.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.0%
Blue82.0%
CMYK percentages
Cyan2.4%
Magenta4.8%
Yellow0.0%
Key (black)18.0%
Color previews
#ccc7d1 text on a black background
contrast 12.66:1
Card sample
#ccc7d1 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc7d1;
Background color
Panel with #ccc7d1 background
background-color: #ccc7d1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc7d1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 199, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 199, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc7d1; background: linear-gradient(135deg, #ccc7d1, #D1C7CF);