#b2acfa
a light, electric blue · warm · closest name: plum
RGB
178, 172, 250
HSL
245°, 89%, 83%
CMYK
29, 31, 0, 2
Luminance
0.4587
Every format
| HEX | #b2acfa |
| RGB | rgb(178, 172, 250) |
| HSL | hsl(245, 89%, 83%) |
| CMYK | cmyk(29%, 31%, 0%, 2%) |
| LAB | lab(73.5 19.0 -38.0) |
| LCH | lch(73.5 42.4 296.6) |
| OKLCH | oklch(0.778 0.110 287.1) |
Copy-ready code
/* CSS */
color: #b2acfa;
background-color: #b2acfa;
/* Tailwind (arbitrary) */
class="text-[#b2acfa] bg-[#b2acfa]"
/* SCSS */
$brand: #b2acfa;
/* SwiftUI */
Color(red: 0.698, green: 0.675, blue: 0.980)
/* Android */
Color.parseColor("#b2acfa")Accessibility — WCAG contrast
Aa
#b2acfa on white: 2.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2acfa on black: 10.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green67.5%
Blue98.0%
CMYK percentages
Cyan28.8%
Magenta31.2%
Yellow0.0%
Key (black)2.0%
Color previews
#b2acfa text on a black background
contrast 10.17:1
Card sample
#b2acfa text on a white background
contrast 2.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2acfa;
Background color
Panel with #b2acfa background
background-color: #b2acfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2acfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 172, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 172, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2acfa; background: linear-gradient(135deg, #b2acfa, #E6ACFA);