#b2a5df
a light, vivid blue · warm · closest name: plum
RGB
178, 165, 223
HSL
253°, 48%, 76%
CMYK
20, 26, 0, 13
Luminance
0.4170
Every format
| HEX | #b2a5df |
| RGB | rgb(178, 165, 223) |
| HSL | hsl(253, 48%, 76%) |
| CMYK | cmyk(20%, 26%, 0%, 13%) |
| LAB | lab(70.7 16.5 -27.6) |
| LCH | lch(70.7 32.1 300.9) |
| OKLCH | oklch(0.753 0.083 294.6) |
Copy-ready code
/* CSS */
color: #b2a5df;
background-color: #b2a5df;
/* Tailwind (arbitrary) */
class="text-[#b2a5df] bg-[#b2a5df]"
/* SCSS */
$brand: #b2a5df;
/* SwiftUI */
Color(red: 0.698, green: 0.647, blue: 0.875)
/* Android */
Color.parseColor("#b2a5df")Accessibility — WCAG contrast
Aa
#b2a5df on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2a5df on black: 9.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green64.7%
Blue87.5%
CMYK percentages
Cyan20.2%
Magenta26.0%
Yellow0.0%
Key (black)12.5%
Color previews
#b2a5df text on a black background
contrast 9.34:1
Card sample
#b2a5df text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2a5df;
Background color
Panel with #b2a5df background
background-color: #b2a5df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2a5df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 165, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 165, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2a5df; background: linear-gradient(135deg, #b2a5df, #D9A5DF);