#baabdf
a light, soft violet · warm · closest name: plum
RGB
186, 171, 223
HSL
257°, 45%, 77%
CMYK
17, 23, 0, 13
Luminance
0.4489
Every format
| HEX | #baabdf |
| RGB | rgb(186, 171, 223) |
| HSL | hsl(257, 45%, 77%) |
| CMYK | cmyk(17%, 23%, 0%, 13%) |
| LAB | lab(72.8 15.7 -24.2) |
| LCH | lch(72.8 28.8 302.9) |
| OKLCH | oklch(0.772 0.075 297.8) |
Copy-ready code
/* CSS */
color: #baabdf;
background-color: #baabdf;
/* Tailwind (arbitrary) */
class="text-[#baabdf] bg-[#baabdf]"
/* SCSS */
$brand: #baabdf;
/* SwiftUI */
Color(red: 0.729, green: 0.671, blue: 0.875)
/* Android */
Color.parseColor("#baabdf")Accessibility — WCAG contrast
Aa
#baabdf on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baabdf on black: 9.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.1%
Blue87.5%
CMYK percentages
Cyan16.6%
Magenta23.3%
Yellow0.0%
Key (black)12.5%
Color previews
#baabdf text on a black background
contrast 9.98:1
Card sample
#baabdf text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baabdf;
Background color
Panel with #baabdf background
background-color: #baabdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baabdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 171, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 171, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baabdf; background: linear-gradient(135deg, #baabdf, #DDABDF);