#aaaaf8
a light, electric blue · warm · closest name: plum
RGB
170, 170, 248
HSL
240°, 85%, 82%
CMYK
32, 32, 0, 3
Luminance
0.4407
Every format
| HEX | #aaaaf8 |
| RGB | rgb(170, 170, 248) |
| HSL | hsl(240, 85%, 82%) |
| CMYK | cmyk(32%, 32%, 0%, 3%) |
| LAB | lab(72.3 17.4 -38.8) |
| LCH | lch(72.3 42.5 294.1) |
| OKLCH | oklch(0.768 0.111 283.5) |
Copy-ready code
/* CSS */
color: #aaaaf8;
background-color: #aaaaf8;
/* Tailwind (arbitrary) */
class="text-[#aaaaf8] bg-[#aaaaf8]"
/* SCSS */
$brand: #aaaaf8;
/* SwiftUI */
Color(red: 0.667, green: 0.667, blue: 0.973)
/* Android */
Color.parseColor("#aaaaf8")Accessibility — WCAG contrast
Aa
#aaaaf8 on white: 2.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aaaaf8 on black: 9.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green66.7%
Blue97.3%
CMYK percentages
Cyan31.5%
Magenta31.5%
Yellow0.0%
Key (black)2.7%
Color previews
#aaaaf8 text on a black background
contrast 9.81:1
Card sample
#aaaaf8 text on a white background
contrast 2.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aaaaf8;
Background color
Panel with #aaaaf8 background
background-color: #aaaaf8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aaaaf8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 170, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 170, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaaaf8; background: linear-gradient(135deg, #aaaaf8, #DEAAF8);