#b58df5
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 | #b58df5 | |
| RGB | rgb(181 141 245) | |
| HSL | hsl(263.08 83.87% 75.69%) | |
| OKLCH | oklch(0.72 0.15 300.39) | |
| CMYK | cmyk(26.12% 42.45% 0% 3.92%) | |
| Android | #ffb58df5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.09: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="#b58df5"
Gradient stop
<stop stop-color="#b58df5"/>
CSS variable + fill
:root { --c: #b58df5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b58df5; background-color: #b58df5; bg-[#b58df5]