#b591fe
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 | #b591fe | |
| RGB | rgb(181 145 254) | |
| HSL | hsl(259.82 98.2% 78.24%) | |
| OKLCH | oklch(0.73 0.16 297.64) | |
| CMYK | cmyk(28.74% 42.91% 0% 0.39%) | |
| Android | #ffb591fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.44: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="#b591fe"
Gradient stop
<stop stop-color="#b591fe"/>
CSS variable + fill
:root { --c: #b591fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b591fe; background-color: #b591fe; bg-[#b591fe]