#b145fb
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 | #b145fb | |
| RGB | rgb(177 69 251) | |
| HSL | hsl(275.6 95.79% 62.75%) | |
| OKLCH | oklch(0.62 0.26 307.47) | |
| CMYK | cmyk(29.48% 72.51% 0% 1.57%) | |
| Android | #ffb145fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.11: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="#b145fb"
Gradient stop
<stop stop-color="#b145fb"/>
CSS variable + fill
:root { --c: #b145fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b145fb; background-color: #b145fb; bg-[#b145fb]