#bd7eda
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 | #bd7eda | |
| RGB | rgb(189 126 218) | |
| HSL | hsl(281.09 55.42% 67.45%) | |
| OKLCH | oklch(0.69 0.15 314.51) | |
| CMYK | cmyk(13.3% 42.2% 0% 14.51%) | |
| Android | #ffbd7eda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.16: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="#bd7eda"
Gradient stop
<stop stop-color="#bd7eda"/>
CSS variable + fill
:root { --c: #bd7eda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd7eda; background-color: #bd7eda; bg-[#bd7eda]