#b537df
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 | #b537df | |
| RGB | rgb(181 55 223) | |
| HSL | hsl(285 72.41% 54.51%) | |
| OKLCH | oklch(0.6 0.25 315.94) | |
| CMYK | cmyk(18.83% 75.34% 0% 12.55%) | |
| Android | #ffb537df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b537df"
Gradient stop
<stop stop-color="#b537df"/>
CSS variable + fill
:root { --c: #b537df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b537df; background-color: #b537df; bg-[#b537df]