#c1afeb
a light, vivid violet · warm · closest name: plum
RGB
193, 175, 235
HSL
258°, 60%, 80%
CMYK
18, 26, 0, 8
Luminance
0.4800
Every format
| HEX | #c1afeb |
| RGB | rgb(193, 175, 235) |
| HSL | hsl(258, 60%, 80%) |
| CMYK | cmyk(18%, 26%, 0%, 8%) |
| LAB | lab(74.8 18.3 -27.6) |
| LCH | lch(74.8 33.1 303.5) |
| OKLCH | oklch(0.790 0.086 298.2) |
Copy-ready code
/* CSS */
color: #c1afeb;
background-color: #c1afeb;
/* Tailwind (arbitrary) */
class="text-[#c1afeb] bg-[#c1afeb]"
/* SCSS */
$brand: #c1afeb;
/* SwiftUI */
Color(red: 0.757, green: 0.686, blue: 0.922)
/* Android */
Color.parseColor("#c1afeb")Accessibility — WCAG contrast
Aa
#c1afeb on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c1afeb on black: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green68.6%
Blue92.2%
CMYK percentages
Cyan17.9%
Magenta25.5%
Yellow0.0%
Key (black)7.8%
Color previews
#c1afeb text on a black background
contrast 10.60:1
Card sample
#c1afeb text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1afeb;
Background color
Panel with #c1afeb background
background-color: #c1afeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1afeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 175, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 175, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1afeb; background: linear-gradient(135deg, #c1afeb, #E9AFEB);