#c3aaff
a light, electric violet · warm · closest name: plum
RGB
195, 170, 255
HSL
258°, 100%, 83%
CMYK
24, 33, 0, 0
Luminance
0.4757
Every format
| HEX | #c3aaff |
| RGB | rgb(195, 170, 255) |
| HSL | hsl(258, 100%, 83%) |
| CMYK | cmyk(24%, 33%, 0%, 0%) |
| LAB | lab(74.5 26.1 -38.9) |
| LCH | lch(74.5 46.8 303.9) |
| OKLCH | oklch(0.791 0.121 297.1) |
Copy-ready code
/* CSS */
color: #c3aaff;
background-color: #c3aaff;
/* Tailwind (arbitrary) */
class="text-[#c3aaff] bg-[#c3aaff]"
/* SCSS */
$brand: #c3aaff;
/* SwiftUI */
Color(red: 0.765, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#c3aaff")Accessibility — WCAG contrast
Aa
#c3aaff on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c3aaff on black: 10.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green66.7%
Blue100.0%
CMYK percentages
Cyan23.5%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#c3aaff text on a black background
contrast 10.51:1
Card sample
#c3aaff text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c3aaff;
Background color
Panel with #c3aaff background
background-color: #c3aaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c3aaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3aaff; background: linear-gradient(135deg, #c3aaff, #FCAAFF);