#aa91ff
a light, electric blue · warm · closest name: slateblue
RGB
170, 145, 255
HSL
254°, 100%, 78%
CMYK
33, 43, 0, 0
Luminance
0.3602
Every format
| HEX | #aa91ff |
| RGB | rgb(170, 145, 255) |
| HSL | hsl(254, 100%, 78%) |
| CMYK | cmyk(33%, 43%, 0%, 0%) |
| LAB | lab(66.5 33.2 -51.6) |
| LCH | lch(66.5 61.4 302.8) |
| OKLCH | oklch(0.725 0.157 292.5) |
Copy-ready code
/* CSS */
color: #aa91ff;
background-color: #aa91ff;
/* Tailwind (arbitrary) */
class="text-[#aa91ff] bg-[#aa91ff]"
/* SCSS */
$brand: #aa91ff;
/* SwiftUI */
Color(red: 0.667, green: 0.569, blue: 1.000)
/* Android */
Color.parseColor("#aa91ff")Accessibility — WCAG contrast
Aa
#aa91ff on white: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aa91ff on black: 8.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green56.9%
Blue100.0%
CMYK percentages
Cyan33.3%
Magenta43.1%
Yellow0.0%
Key (black)0.0%
Color previews
#aa91ff text on a black background
contrast 8.20:1
Card sample
#aa91ff text on a white background
contrast 2.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa91ff;
Background color
Panel with #aa91ff background
background-color: #aa91ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa91ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 145, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 145, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa91ff; background: linear-gradient(135deg, #aa91ff, #F391FF);