#b239bc
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 | #b239bc | |
| RGB | rgb(178 57 188) | |
| HSL | hsl(295.42 53.47% 48.04%) | |
| OKLCH | oklch(0.57 0.22 324.64) | |
| CMYK | cmyk(5.32% 69.68% 0% 26.27%) | |
| Android | #ffb239bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.99:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.20: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="#b239bc"
Gradient stop
<stop stop-color="#b239bc"/>
CSS variable + fill
:root { --c: #b239bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b239bc; background-color: #b239bc; bg-[#b239bc]