#b4acff
a light, electric blue · warm · closest name: plum
RGB
180, 172, 255
HSL
246°, 100%, 84%
CMYK
29, 33, 0, 0
Luminance
0.4643
Every format
| HEX | #b4acff |
| RGB | rgb(180, 172, 255) |
| HSL | hsl(246, 100%, 84%) |
| CMYK | cmyk(29%, 33%, 0%, 0%) |
| LAB | lab(73.8 20.8 -40.1) |
| LCH | lch(73.8 45.1 297.4) |
| OKLCH | oklch(0.782 0.117 287.8) |
Copy-ready code
/* CSS */
color: #b4acff;
background-color: #b4acff;
/* Tailwind (arbitrary) */
class="text-[#b4acff] bg-[#b4acff]"
/* SCSS */
$brand: #b4acff;
/* SwiftUI */
Color(red: 0.706, green: 0.675, blue: 1.000)
/* Android */
Color.parseColor("#b4acff")Accessibility — WCAG contrast
Aa
#b4acff on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4acff on black: 10.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green67.5%
Blue100.0%
CMYK percentages
Cyan29.4%
Magenta32.5%
Yellow0.0%
Key (black)0.0%
Color previews
#b4acff text on a black background
contrast 10.29:1
Card sample
#b4acff text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4acff;
Background color
Panel with #b4acff background
background-color: #b4acff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4acff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 172, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 172, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4acff; background: linear-gradient(135deg, #b4acff, #EBACFF);