#b45fad
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 | #b45fad | |
| RGB | rgb(180 95 173) | |
| HSL | hsl(304.94 36.17% 53.92%) | |
| OKLCH | oklch(0.61 0.15 330.31) | |
| CMYK | cmyk(0% 47.22% 3.89% 29.41%) | |
| Android | #ffb45fad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18: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="#b45fad"
Gradient stop
<stop stop-color="#b45fad"/>
CSS variable + fill
:root { --c: #b45fad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b45fad; background-color: #b45fad; bg-[#b45fad]