#aa99ff
a light, electric blue · warm · closest name: dodgerblue
RGB
170, 153, 255
HSL
250°, 100%, 80%
CMYK
33, 40, 0, 0
Luminance
0.3855
Every format
| HEX | #aa99ff |
| RGB | rgb(170, 153, 255) |
| HSL | hsl(250, 100%, 80%) |
| CMYK | cmyk(33%, 40%, 0%, 0%) |
| LAB | lab(68.4 28.7 -48.6) |
| LCH | lch(68.4 56.4 300.6) |
| OKLCH | oklch(0.739 0.145 290.0) |
Copy-ready code
/* CSS */
color: #aa99ff;
background-color: #aa99ff;
/* Tailwind (arbitrary) */
class="text-[#aa99ff] bg-[#aa99ff]"
/* SCSS */
$brand: #aa99ff;
/* SwiftUI */
Color(red: 0.667, green: 0.600, blue: 1.000)
/* Android */
Color.parseColor("#aa99ff")Accessibility — WCAG contrast
Aa
#aa99ff on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aa99ff on black: 8.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green60.0%
Blue100.0%
CMYK percentages
Cyan33.3%
Magenta40.0%
Yellow0.0%
Key (black)0.0%
Color previews
#aa99ff text on a black background
contrast 8.71:1
Card sample
#aa99ff text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa99ff;
Background color
Panel with #aa99ff background
background-color: #aa99ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa99ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 153, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 153, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa99ff; background: linear-gradient(135deg, #aa99ff, #EE99FF);