#b0afcc
a light, soft blue · warm · closest name: silver
RGB
176, 175, 204
HSL
242°, 22%, 74%
CMYK
14, 14, 0, 20
Luminance
0.4425
Every format
| HEX | #b0afcc |
| RGB | rgb(176, 175, 204) |
| HSL | hsl(242, 22%, 74%) |
| CMYK | cmyk(14%, 14%, 0%, 20%) |
| LAB | lab(72.4 6.2 -14.5) |
| LCH | lch(72.4 15.8 293.0) |
| OKLCH | oklch(0.764 0.041 287.0) |
Copy-ready code
/* CSS */
color: #b0afcc;
background-color: #b0afcc;
/* Tailwind (arbitrary) */
class="text-[#b0afcc] bg-[#b0afcc]"
/* SCSS */
$brand: #b0afcc;
/* SwiftUI */
Color(red: 0.690, green: 0.686, blue: 0.800)
/* Android */
Color.parseColor("#b0afcc")Accessibility — WCAG contrast
Aa
#b0afcc on white: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b0afcc on black: 9.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.0%
Green68.6%
Blue80.0%
CMYK percentages
Cyan13.7%
Magenta14.2%
Yellow0.0%
Key (black)20.0%
Color previews
#b0afcc text on a black background
contrast 9.85:1
Card sample
#b0afcc text on a white background
contrast 2.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b0afcc;
Background color
Panel with #b0afcc background
background-color: #b0afcc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b0afcc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(176, 175, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 175, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0afcc; background: linear-gradient(135deg, #b0afcc, #C3AFCC);