#a496e2
a light, vivid blue · warm · closest name: plum
RGB
164, 150, 226
HSL
251°, 57%, 74%
CMYK
27, 34, 0, 11
Luminance
0.3520
Every format
| HEX | #a496e2 |
| RGB | rgb(164, 150, 226) |
| HSL | hsl(251, 57%, 74%) |
| CMYK | cmyk(27%, 34%, 0%, 11%) |
| LAB | lab(65.9 21.5 -36.7) |
| LCH | lch(65.9 42.5 300.4) |
| OKLCH | oklch(0.714 0.110 291.8) |
Copy-ready code
/* CSS */
color: #a496e2;
background-color: #a496e2;
/* Tailwind (arbitrary) */
class="text-[#a496e2] bg-[#a496e2]"
/* SCSS */
$brand: #a496e2;
/* SwiftUI */
Color(red: 0.643, green: 0.588, blue: 0.886)
/* Android */
Color.parseColor("#a496e2")Accessibility — WCAG contrast
Aa
#a496e2 on white: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a496e2 on black: 8.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green58.8%
Blue88.6%
CMYK percentages
Cyan27.4%
Magenta33.6%
Yellow0.0%
Key (black)11.4%
Color previews
#a496e2 text on a black background
contrast 8.04:1
Card sample
#a496e2 text on a white background
contrast 2.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a496e2;
Background color
Panel with #a496e2 background
background-color: #a496e2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a496e2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 150, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 150, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a496e2; background: linear-gradient(135deg, #a496e2, #D796E2);