#c49eff
a light, electric violet · warm · closest name: plum
RGB
196, 158, 255
HSL
264°, 100%, 81%
CMYK
23, 38, 0, 0
Luminance
0.4341
Every format
| HEX | #c49eff |
| RGB | rgb(196, 158, 255) |
| HSL | hsl(264, 100%, 81%) |
| CMYK | cmyk(23%, 38%, 0%, 0%) |
| LAB | lab(71.8 33.1 -43.1) |
| LCH | lch(71.8 54.3 307.5) |
| OKLCH | oklch(0.770 0.140 301.2) |
Copy-ready code
/* CSS */
color: #c49eff;
background-color: #c49eff;
/* Tailwind (arbitrary) */
class="text-[#c49eff] bg-[#c49eff]"
/* SCSS */
$brand: #c49eff;
/* SwiftUI */
Color(red: 0.769, green: 0.620, blue: 1.000)
/* Android */
Color.parseColor("#c49eff")Accessibility — WCAG contrast
Aa
#c49eff on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c49eff on black: 9.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green62.0%
Blue100.0%
CMYK percentages
Cyan23.1%
Magenta38.0%
Yellow0.0%
Key (black)0.0%
Color previews
#c49eff text on a black background
contrast 9.68:1
Card sample
#c49eff text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c49eff;
Background color
Panel with #c49eff background
background-color: #c49eff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c49eff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 158, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 158, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49eff; background: linear-gradient(135deg, #c49eff, #FF9EF9);