#baaccb
a light, soft violet · warm · closest name: silver
RGB
186, 172, 203
HSL
267°, 23%, 74%
CMYK
8, 15, 0, 20
Luminance
0.4426
Every format
| HEX | #baaccb |
| RGB | rgb(186, 172, 203) |
| HSL | hsl(267, 23%, 74%) |
| CMYK | cmyk(8%, 15%, 0%, 20%) |
| LAB | lab(72.4 10.9 -13.9) |
| LCH | lch(72.4 17.7 308.1) |
| OKLCH | oklch(0.766 0.046 305.7) |
Copy-ready code
/* CSS */
color: #baaccb;
background-color: #baaccb;
/* Tailwind (arbitrary) */
class="text-[#baaccb] bg-[#baaccb]"
/* SCSS */
$brand: #baaccb;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.796)
/* Android */
Color.parseColor("#baaccb")Accessibility — WCAG contrast
Aa
#baaccb on white: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baaccb on black: 9.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue79.6%
CMYK percentages
Cyan8.4%
Magenta15.3%
Yellow0.0%
Key (black)20.4%
Color previews
#baaccb text on a black background
contrast 9.85:1
Card sample
#baaccb text on a white background
contrast 2.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baaccb;
Background color
Panel with #baaccb background
background-color: #baaccb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baaccb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baaccb; background: linear-gradient(135deg, #baaccb, #CBACC7);