#c6aaff
a light, electric violet · warm · closest name: plum
RGB
198, 170, 255
HSL
260°, 100%, 83%
CMYK
22, 33, 0, 0
Luminance
0.4798
Every format
| HEX | #c6aaff |
| RGB | rgb(198, 170, 255) |
| HSL | hsl(260, 100%, 83%) |
| CMYK | cmyk(22%, 33%, 0%, 0%) |
| LAB | lab(74.8 27.0 -38.4) |
| LCH | lch(74.8 47.0 305.1) |
| OKLCH | oklch(0.793 0.121 298.8) |
Copy-ready code
/* CSS */
color: #c6aaff;
background-color: #c6aaff;
/* Tailwind (arbitrary) */
class="text-[#c6aaff] bg-[#c6aaff]"
/* SCSS */
$brand: #c6aaff;
/* SwiftUI */
Color(red: 0.776, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#c6aaff")Accessibility — WCAG contrast
Aa
#c6aaff on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c6aaff on black: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.6%
Green66.7%
Blue100.0%
CMYK percentages
Cyan22.4%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#c6aaff text on a black background
contrast 10.60:1
Card sample
#c6aaff text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c6aaff;
Background color
Panel with #c6aaff background
background-color: #c6aaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c6aaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(198, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c6aaff; background: linear-gradient(135deg, #c6aaff, #FFAAFF);