#b38fed
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 | #b38fed | |
| RGB | rgb(179 143 237) | |
| HSL | hsl(262.98 72.31% 74.51%) | |
| OKLCH | oklch(0.72 0.14 300.64) | |
| CMYK | cmyk(24.47% 39.66% 0% 7.06%) | |
| Android | #ffb38fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.06: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="#b38fed"
Gradient stop
<stop stop-color="#b38fed"/>
CSS variable + fill
:root { --c: #b38fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b38fed; background-color: #b38fed; bg-[#b38fed]