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