#b45ace
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 | #b45ace | |
| RGB | rgb(180 90 206) | |
| HSL | hsl(286.55 54.21% 58.04%) | |
| OKLCH | oklch(0.62 0.19 318.14) | |
| CMYK | cmyk(12.62% 56.31% 0% 19.22%) | |
| Android | #ffb45ace |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.29: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="#b45ace"
Gradient stop
<stop stop-color="#b45ace"/>
CSS variable + fill
:root { --c: #b45ace; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b45ace; background-color: #b45ace; bg-[#b45ace]