#b799fe
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 | #b799fe | |
| RGB | rgb(183 153 254) | |
| HSL | hsl(257.82 98.06% 79.8%) | |
| OKLCH | oklch(0.75 0.14 296.43) | |
| CMYK | cmyk(27.95% 39.76% 0% 0.39%) | |
| Android | #ffb799fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.00: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="#b799fe"
Gradient stop
<stop stop-color="#b799fe"/>
CSS variable + fill
:root { --c: #b799fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b799fe; background-color: #b799fe; bg-[#b799fe]