#a2abfa
a light, electric blue · warm · closest name: plum
RGB
162, 171, 250
HSL
234°, 90%, 81%
CMYK
35, 32, 0, 2
Luminance
0.4371
Every format
| HEX | #a2abfa |
| RGB | rgb(162, 171, 250) |
| HSL | hsl(234, 90%, 81%) |
| CMYK | cmyk(35%, 32%, 0%, 2%) |
| LAB | lab(72.0 15.1 -40.3) |
| LCH | lch(72.0 43.0 290.6) |
| OKLCH | oklch(0.764 0.114 278.4) |
Copy-ready code
/* CSS */
color: #a2abfa;
background-color: #a2abfa;
/* Tailwind (arbitrary) */
class="text-[#a2abfa] bg-[#a2abfa]"
/* SCSS */
$brand: #a2abfa;
/* SwiftUI */
Color(red: 0.635, green: 0.671, blue: 0.980)
/* Android */
Color.parseColor("#a2abfa")Accessibility — WCAG contrast
Aa
#a2abfa on white: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2abfa on black: 9.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.1%
Blue98.0%
CMYK percentages
Cyan35.2%
Magenta31.6%
Yellow0.0%
Key (black)2.0%
Color previews
#a2abfa text on a black background
contrast 9.74:1
Card sample
#a2abfa text on a white background
contrast 2.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2abfa;
Background color
Panel with #a2abfa background
background-color: #a2abfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2abfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 171, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 171, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2abfa; background: linear-gradient(135deg, #a2abfa, #D4A2FA);