#b951be
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 | #b951be | |
| RGB | rgb(185 81 190) | |
| HSL | hsl(297.25 45.61% 53.14%) | |
| OKLCH | oklch(0.61 0.19 325.78) | |
| CMYK | cmyk(2.63% 57.37% 0% 25.49%) | |
| Android | #ffb951be |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.98: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="#b951be"
Gradient stop
<stop stop-color="#b951be"/>
CSS variable + fill
:root { --c: #b951be; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b951be; background-color: #b951be; bg-[#b951be]