#b30ca7
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 | #b30ca7 | |
| RGB | rgb(179 12 167) | |
| HSL | hsl(304.31 87.43% 37.45%) | |
| OKLCH | oklch(0.53 0.24 332.04) | |
| CMYK | cmyk(0% 93.3% 6.7% 29.8%) | |
| Android | #ffb30ca7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.52: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="#b30ca7"
Gradient stop
<stop stop-color="#b30ca7"/>
CSS variable + fill
:root { --c: #b30ca7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b30ca7; background-color: #b30ca7; bg-[#b30ca7]