#b38dc2
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 | #b38dc2 | |
| RGB | rgb(179 141 194) | |
| HSL | hsl(283.02 30.29% 65.69%) | |
| OKLCH | oklch(0.7 0.09 316.25) | |
| CMYK | cmyk(7.73% 27.32% 0% 23.92%) | |
| Android | #ffb38dc2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.79:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.50: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="#b38dc2"
Gradient stop
<stop stop-color="#b38dc2"/>
CSS variable + fill
:root { --c: #b38dc2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b38dc2; background-color: #b38dc2; bg-[#b38dc2]