#a2abff
a light, electric blue · warm · closest name: dodgerblue
RGB
162, 171, 255
HSL
234°, 100%, 82%
CMYK
37, 33, 0, 0
Luminance
0.4403
Every format
| HEX | #a2abff |
| RGB | rgb(162, 171, 255) |
| HSL | hsl(234, 100%, 82%) |
| CMYK | cmyk(37%, 33%, 0%, 0%) |
| LAB | lab(72.3 16.4 -42.6) |
| LCH | lch(72.3 45.7 291.1) |
| OKLCH | oklch(0.767 0.120 278.5) |
Copy-ready code
/* CSS */
color: #a2abff;
background-color: #a2abff;
/* Tailwind (arbitrary) */
class="text-[#a2abff] bg-[#a2abff]"
/* SCSS */
$brand: #a2abff;
/* SwiftUI */
Color(red: 0.635, green: 0.671, blue: 1.000)
/* Android */
Color.parseColor("#a2abff")Accessibility — WCAG contrast
Aa
#a2abff on white: 2.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2abff on black: 9.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.1%
Blue100.0%
CMYK percentages
Cyan36.5%
Magenta32.9%
Yellow0.0%
Key (black)0.0%
Color previews
#a2abff text on a black background
contrast 9.81:1
Card sample
#a2abff text on a white background
contrast 2.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2abff;
Background color
Panel with #a2abff background
background-color: #a2abff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2abff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 171, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 171, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2abff; background: linear-gradient(135deg, #a2abff, #D7A2FF);