#c49afd
a light, electric violet · warm · closest name: plum
RGB
196, 154, 253
HSL
266°, 96%, 80%
CMYK
23, 39, 0, 1
Luminance
0.4194
Every format
| HEX | #c49afd |
| RGB | rgb(196, 154, 253) |
| HSL | hsl(266, 96%, 80%) |
| CMYK | cmyk(23%, 39%, 0%, 1%) |
| LAB | lab(70.8 34.8 -43.6) |
| LCH | lch(70.8 55.8 308.6) |
| OKLCH | oklch(0.762 0.144 302.7) |
Copy-ready code
/* CSS */
color: #c49afd;
background-color: #c49afd;
/* Tailwind (arbitrary) */
class="text-[#c49afd] bg-[#c49afd]"
/* SCSS */
$brand: #c49afd;
/* SwiftUI */
Color(red: 0.769, green: 0.604, blue: 0.992)
/* Android */
Color.parseColor("#c49afd")Accessibility — WCAG contrast
Aa
#c49afd on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c49afd on black: 9.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green60.4%
Blue99.2%
CMYK percentages
Cyan22.5%
Magenta39.1%
Yellow0.0%
Key (black)0.8%
Color previews
#c49afd text on a black background
contrast 9.39:1
Card sample
#c49afd text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c49afd;
Background color
Panel with #c49afd background
background-color: #c49afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c49afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 154, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 154, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49afd; background: linear-gradient(135deg, #c49afd, #FD9AF4);