#b4afeb
a light, vivid blue · warm · closest name: plum
RGB
180, 175, 235
HSL
245°, 60%, 80%
CMYK
23, 26, 0, 8
Luminance
0.4636
Every format
| HEX | #b4afeb |
| RGB | rgb(180, 175, 235) |
| HSL | hsl(245, 60%, 80%) |
| CMYK | cmyk(23%, 26%, 0%, 8%) |
| LAB | lab(73.8 14.3 -29.3) |
| LCH | lch(73.8 32.6 296.0) |
| OKLCH | oklch(0.779 0.085 288.1) |
Copy-ready code
/* CSS */
color: #b4afeb;
background-color: #b4afeb;
/* Tailwind (arbitrary) */
class="text-[#b4afeb] bg-[#b4afeb]"
/* SCSS */
$brand: #b4afeb;
/* SwiftUI */
Color(red: 0.706, green: 0.686, blue: 0.922)
/* Android */
Color.parseColor("#b4afeb")Accessibility — WCAG contrast
Aa
#b4afeb on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4afeb on black: 10.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green68.6%
Blue92.2%
CMYK percentages
Cyan23.4%
Magenta25.5%
Yellow0.0%
Key (black)7.8%
Color previews
#b4afeb text on a black background
contrast 10.27:1
Card sample
#b4afeb text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4afeb;
Background color
Panel with #b4afeb background
background-color: #b4afeb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4afeb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 175, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 175, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4afeb; background: linear-gradient(135deg, #b4afeb, #DCAFEB);