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