#c3afcc
a light, soft violet · warm · closest name: silver
RGB
195, 175, 204
HSL
281°, 22%, 74%
CMYK
4, 14, 0, 20
Luminance
0.4662
Every format
| HEX | #c3afcc |
| RGB | rgb(195, 175, 204) |
| HSL | hsl(281, 22%, 74%) |
| CMYK | cmyk(4%, 14%, 0%, 20%) |
| LAB | lab(74.0 12.5 -12.1) |
| LCH | lch(74.0 17.4 316.0) |
| OKLCH | oklch(0.780 0.046 315.4) |
Copy-ready code
/* CSS */
color: #c3afcc;
background-color: #c3afcc;
/* Tailwind (arbitrary) */
class="text-[#c3afcc] bg-[#c3afcc]"
/* SCSS */
$brand: #c3afcc;
/* SwiftUI */
Color(red: 0.765, green: 0.686, blue: 0.800)
/* Android */
Color.parseColor("#c3afcc")Accessibility — WCAG contrast
Aa
#c3afcc on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c3afcc on black: 10.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green68.6%
Blue80.0%
CMYK percentages
Cyan4.4%
Magenta14.2%
Yellow0.0%
Key (black)20.0%
Color previews
#c3afcc text on a black background
contrast 10.32:1
Card sample
#c3afcc text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c3afcc;
Background color
Panel with #c3afcc background
background-color: #c3afcc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c3afcc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 175, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 175, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3afcc; background: linear-gradient(135deg, #c3afcc, #CCAFC2);