#b98fed
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 | #b98fed | |
| RGB | rgb(185 143 237) | |
| HSL | hsl(266.81 72.31% 74.51%) | |
| OKLCH | oklch(0.73 0.14 303.71) | |
| CMYK | cmyk(21.94% 39.66% 0% 7.06%) | |
| Android | #ffb98fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.55:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.21: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="#b98fed"
Gradient stop
<stop stop-color="#b98fed"/>
CSS variable + fill
:root { --c: #b98fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b98fed; background-color: #b98fed; bg-[#b98fed]