#b4afda
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 | #b4afda | |
| RGB | rgb(180 175 218) | |
| HSL | hsl(246.98 36.75% 77.06%) | |
| OKLCH | oklch(0.77 0.06 290.22) | |
| CMYK | cmyk(17.43% 19.72% 0% 14.51%) | |
| Android | #ffb4afda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.08: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="#b4afda"
Gradient stop
<stop stop-color="#b4afda"/>
CSS variable + fill
:root { --c: #b4afda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b4afda; background-color: #b4afda; bg-[#b4afda]