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