#b2aaff
a light, electric blue · warm · closest name: plum
RGB
178, 170, 255
HSL
246°, 100%, 83%
CMYK
30, 33, 0, 0
Luminance
0.4543
Every format
| HEX | #b2aaff |
| RGB | rgb(178, 170, 255) |
| HSL | hsl(246, 100%, 83%) |
| CMYK | cmyk(30%, 33%, 0%, 0%) |
| LAB | lab(73.2 21.3 -41.1) |
| LCH | lch(73.2 46.3 297.4) |
| OKLCH | oklch(0.777 0.120 287.6) |
Copy-ready code
/* CSS */
color: #b2aaff;
background-color: #b2aaff;
/* Tailwind (arbitrary) */
class="text-[#b2aaff] bg-[#b2aaff]"
/* SCSS */
$brand: #b2aaff;
/* SwiftUI */
Color(red: 0.698, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#b2aaff")Accessibility — WCAG contrast
Aa
#b2aaff on white: 2.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2aaff on black: 10.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green66.7%
Blue100.0%
CMYK percentages
Cyan30.2%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#b2aaff text on a black background
contrast 10.09:1
Card sample
#b2aaff text on a white background
contrast 2.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2aaff;
Background color
Panel with #b2aaff background
background-color: #b2aaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2aaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2aaff; background: linear-gradient(135deg, #b2aaff, #EBAAFF);