#a2abfb
a light, electric blue · warm · closest name: plum
RGB
162, 171, 251
HSL
234°, 92%, 81%
CMYK
36, 32, 0, 2
Luminance
0.4377
Every format
| HEX | #a2abfb |
| RGB | rgb(162, 171, 251) |
| HSL | hsl(234, 92%, 81%) |
| CMYK | cmyk(36%, 32%, 0%, 2%) |
| LAB | lab(72.1 15.4 -40.7) |
| LCH | lch(72.1 43.5 290.7) |
| OKLCH | oklch(0.765 0.115 278.4) |
Copy-ready code
/* CSS */
color: #a2abfb;
background-color: #a2abfb;
/* Tailwind (arbitrary) */
class="text-[#a2abfb] bg-[#a2abfb]"
/* SCSS */
$brand: #a2abfb;
/* SwiftUI */
Color(red: 0.635, green: 0.671, blue: 0.984)
/* Android */
Color.parseColor("#a2abfb")Accessibility — WCAG contrast
Aa
#a2abfb on white: 2.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2abfb on black: 9.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.1%
Blue98.4%
CMYK percentages
Cyan35.5%
Magenta31.9%
Yellow0.0%
Key (black)1.6%
Color previews
#a2abfb text on a black background
contrast 9.75:1
Card sample
#a2abfb text on a white background
contrast 2.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2abfb;
Background color
Panel with #a2abfb background
background-color: #a2abfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2abfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 171, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 171, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2abfb; background: linear-gradient(135deg, #a2abfb, #D4A2FB);