#b478de
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 | #b478de | |
| RGB | rgb(180 120 222) | |
| HSL | hsl(275.29 60.71% 67.06%) | |
| OKLCH | oklch(0.67 0.16 309.93) | |
| CMYK | cmyk(18.92% 45.95% 0% 12.94%) | |
| Android | #ffb478de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.14:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.68: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="#b478de"
Gradient stop
<stop stop-color="#b478de"/>
CSS variable + fill
:root { --c: #b478de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b478de; background-color: #b478de; bg-[#b478de]