#b30dd2
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 | #b30dd2 | |
| RGB | rgb(179 13 210) | |
| HSL | hsl(290.56 88.34% 43.73%) | |
| OKLCH | oklch(0.56 0.26 319.72) | |
| CMYK | cmyk(14.76% 93.81% 0% 17.65%) | |
| Android | #ffb30dd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.90: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="#b30dd2"
Gradient stop
<stop stop-color="#b30dd2"/>
CSS variable + fill
:root { --c: #b30dd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b30dd2; background-color: #b30dd2; bg-[#b30dd2]