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