#c1afdb
a light, soft violet · warm · closest name: plum
RGB
193, 175, 219
HSL
265°, 38%, 77%
CMYK
12, 20, 0, 14
Luminance
0.4711
Every format
| HEX | #c1afdb |
| RGB | rgb(193, 175, 219) |
| HSL | hsl(265, 38%, 77%) |
| CMYK | cmyk(12%, 20%, 0%, 14%) |
| LAB | lab(74.3 14.9 -19.8) |
| LCH | lch(74.3 24.8 306.9) |
| OKLCH | oklch(0.784 0.065 303.6) |
Copy-ready code
/* CSS */
color: #c1afdb;
background-color: #c1afdb;
/* Tailwind (arbitrary) */
class="text-[#c1afdb] bg-[#c1afdb]"
/* SCSS */
$brand: #c1afdb;
/* SwiftUI */
Color(red: 0.757, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#c1afdb")Accessibility — WCAG contrast
Aa
#c1afdb on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c1afdb on black: 10.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green68.6%
Blue85.9%
CMYK percentages
Cyan11.9%
Magenta20.1%
Yellow0.0%
Key (black)14.1%
Color previews
#c1afdb text on a black background
contrast 10.42:1
Card sample
#c1afdb text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1afdb;
Background color
Panel with #c1afdb background
background-color: #c1afdb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1afdb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 175, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 175, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1afdb; background: linear-gradient(135deg, #c1afdb, #DBAFD8);