#b39fd1
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 | #b39fd1 | |
| RGB | rgb(179 159 209) | |
| HSL | hsl(264 35.21% 72.16%) | |
| OKLCH | oklch(0.74 0.07 302.89) | |
| CMYK | cmyk(14.35% 23.92% 0% 18.04%) | |
| Android | #ffb39fd1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.38:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.79: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="#b39fd1"
Gradient stop
<stop stop-color="#b39fd1"/>
CSS variable + fill
:root { --c: #b39fd1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b39fd1; background-color: #b39fd1; bg-[#b39fd1]