#c49cfd
a light, electric violet · warm · closest name: plum
RGB
196, 156, 253
HSL
265°, 96%, 80%
CMYK
23, 38, 0, 1
Luminance
0.4260
Every format
| HEX | #c49cfd |
| RGB | rgb(196, 156, 253) |
| HSL | hsl(265, 96%, 80%) |
| CMYK | cmyk(23%, 38%, 0%, 1%) |
| LAB | lab(71.3 33.7 -42.9) |
| LCH | lch(71.3 54.5 308.2) |
| OKLCH | oklch(0.766 0.141 302.2) |
Copy-ready code
/* CSS */
color: #c49cfd;
background-color: #c49cfd;
/* Tailwind (arbitrary) */
class="text-[#c49cfd] bg-[#c49cfd]"
/* SCSS */
$brand: #c49cfd;
/* SwiftUI */
Color(red: 0.769, green: 0.612, blue: 0.992)
/* Android */
Color.parseColor("#c49cfd")Accessibility — WCAG contrast
Aa
#c49cfd on white: 2.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c49cfd on black: 9.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green61.2%
Blue99.2%
CMYK percentages
Cyan22.5%
Magenta38.3%
Yellow0.0%
Key (black)0.8%
Color previews
#c49cfd text on a black background
contrast 9.52:1
Card sample
#c49cfd text on a white background
contrast 2.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c49cfd;
Background color
Panel with #c49cfd background
background-color: #c49cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c49cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 156, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 156, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49cfd; background: linear-gradient(135deg, #c49cfd, #FD9CF5);