#b251bc
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 | #b251bc | |
| RGB | rgb(178 81 188) | |
| HSL | hsl(294.39 44.4% 52.75%) | |
| OKLCH | oklch(0.6 0.18 323.82) | |
| CMYK | cmyk(5.32% 56.91% 0% 26.27%) | |
| Android | #ffb251bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.37:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.79: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="#b251bc"
Gradient stop
<stop stop-color="#b251bc"/>
CSS variable + fill
:root { --c: #b251bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b251bc; background-color: #b251bc; bg-[#b251bc]