#c7afeb
a light, vivid violet · warm · closest name: plum
RGB
199, 175, 235
HSL
264°, 60%, 80%
CMYK
15, 26, 0, 8
Luminance
0.4880
Every format
| HEX | #c7afeb |
| RGB | rgb(199, 175, 235) |
| HSL | hsl(264, 60%, 80%) |
| CMYK | cmyk(15%, 26%, 0%, 8%) |
| LAB | lab(75.3 20.1 -26.8) |
| LCH | lch(75.3 33.5 306.9) |
| OKLCH | oklch(0.795 0.087 302.8) |
Copy-ready code
/* CSS */
color: #c7afeb;
background-color: #c7afeb;
/* Tailwind (arbitrary) */
class="text-[#c7afeb] bg-[#c7afeb]"
/* SCSS */
$brand: #c7afeb;
/* SwiftUI */
Color(red: 0.780, green: 0.686, blue: 0.922)
/* Android */
Color.parseColor("#c7afeb")Accessibility — WCAG contrast
Aa
#c7afeb on white: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7afeb on black: 10.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green68.6%
Blue92.2%
CMYK percentages
Cyan15.3%
Magenta25.5%
Yellow0.0%
Key (black)7.8%
Color previews
#c7afeb text on a black background
contrast 10.76:1
Card sample
#c7afeb text on a white background
contrast 1.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7afeb;
Background color
Panel with #c7afeb background
background-color: #c7afeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7afeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 175, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 175, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7afeb; background: linear-gradient(135deg, #c7afeb, #EBAFE7);