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