#b313bf
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 | #b313bf | |
| RGB | rgb(179 19 191) | |
| HSL | hsl(295.81 81.9% 41.18%) | |
| OKLCH | oklch(0.55 0.25 324.77) | |
| CMYK | cmyk(6.28% 90.05% 0% 25.1%) | |
| Android | #ffb313bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.76:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b313bf"
Gradient stop
<stop stop-color="#b313bf"/>
CSS variable + fill
:root { --c: #b313bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b313bf; background-color: #b313bf; bg-[#b313bf]