#b38fca
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 | #b38fca | |
| RGB | rgb(179 143 202) | |
| HSL | hsl(276.61 35.76% 67.65%) | |
| OKLCH | oklch(0.7 0.09 311.8) | |
| CMYK | cmyk(11.39% 29.21% 0% 20.78%) | |
| Android | #ffb38fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.69: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="#b38fca"
Gradient stop
<stop stop-color="#b38fca"/>
CSS variable + fill
:root { --c: #b38fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b38fca; background-color: #b38fca; bg-[#b38fca]