#c2bacf
a light, soft violet · warm · closest name: silver
RGB
194, 186, 207
HSL
263°, 18%, 77%
CMYK
6, 10, 0, 19
Luminance
0.5109
Every format
| HEX | #c2bacf |
| RGB | rgb(194, 186, 207) |
| HSL | hsl(263, 18%, 77%) |
| CMYK | cmyk(6%, 10%, 0%, 19%) |
| LAB | lab(76.7 6.8 -9.5) |
| LCH | lch(76.7 11.7 305.3) |
| OKLCH | oklch(0.802 0.030 303.0) |
Copy-ready code
/* CSS */
color: #c2bacf;
background-color: #c2bacf;
/* Tailwind (arbitrary) */
class="text-[#c2bacf] bg-[#c2bacf]"
/* SCSS */
$brand: #c2bacf;
/* SwiftUI */
Color(red: 0.761, green: 0.729, blue: 0.812)
/* Android */
Color.parseColor("#c2bacf")Accessibility — WCAG contrast
Aa
#c2bacf on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2bacf on black: 11.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green72.9%
Blue81.2%
CMYK percentages
Cyan6.3%
Magenta10.1%
Yellow0.0%
Key (black)18.8%
Color previews
#c2bacf text on a black background
contrast 11.22:1
Card sample
#c2bacf text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2bacf;
Background color
Panel with #c2bacf background
background-color: #c2bacf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2bacf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 186, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 186, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2bacf; background: linear-gradient(135deg, #c2bacf, #CFBACE);