#bdb7db
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #bdb7db | |
| RGB | rgb(189 183 219) | |
| HSL | hsl(250 33.33% 78.82%) | |
| OKLCH | oklch(0.8 0.05 292.85) | |
| CMYK | cmyk(13.7% 16.44% 0% 14.12%) | |
| Android | #ffbdb7db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.91:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.96:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#bdb7db"
Gradient stop
<stop stop-color="#bdb7db"/>
CSS variable + fill
:root { --c: #bdb7db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bdb7db; background-color: #bdb7db; bg-[#bdb7db]