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