#bd8bdb
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 | #bd8bdb | |
| RGB | rgb(189 139 219) | |
| HSL | hsl(277.5 52.63% 70.2%) | |
| OKLCH | oklch(0.71 0.12 312.12) | |
| CMYK | cmyk(13.7% 36.53% 0% 14.12%) | |
| Android | #ffbd8bdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.66:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.87: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="#bd8bdb"
Gradient stop
<stop stop-color="#bd8bdb"/>
CSS variable + fill
:root { --c: #bd8bdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd8bdb; background-color: #bd8bdb; bg-[#bd8bdb]