#c7baeb
a light, vivid violet · warm · closest name: plum
RGB
199, 186, 235
HSL
256°, 55%, 83%
CMYK
15, 21, 0, 8
Luminance
0.5326
Every format
| HEX | #c7baeb |
| RGB | rgb(199, 186, 235) |
| HSL | hsl(256, 55%, 83%) |
| CMYK | cmyk(15%, 21%, 0%, 8%) |
| LAB | lab(78.0 14.1 -22.7) |
| LCH | lch(78.0 26.7 301.9) |
| OKLCH | oklch(0.816 0.069 297.0) |
Copy-ready code
/* CSS */
color: #c7baeb;
background-color: #c7baeb;
/* Tailwind (arbitrary) */
class="text-[#c7baeb] bg-[#c7baeb]"
/* SCSS */
$brand: #c7baeb;
/* SwiftUI */
Color(red: 0.780, green: 0.729, blue: 0.922)
/* Android */
Color.parseColor("#c7baeb")Accessibility — WCAG contrast
Aa
#c7baeb on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7baeb on black: 11.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green72.9%
Blue92.2%
CMYK percentages
Cyan15.3%
Magenta20.9%
Yellow0.0%
Key (black)7.8%
Color previews
#c7baeb text on a black background
contrast 11.65:1
Card sample
#c7baeb text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7baeb;
Background color
Panel with #c7baeb background
background-color: #c7baeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7baeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 186, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 186, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7baeb; background: linear-gradient(135deg, #c7baeb, #E8BAEB);