#b46efb
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 | #b46efb | |
| RGB | rgb(180 110 251) | |
| HSL | hsl(269.79 94.63% 70.78%) | |
| OKLCH | oklch(0.68 0.21 304.36) | |
| CMYK | cmyk(28.29% 56.18% 0% 1.57%) | |
| Android | #ffb46efb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.56: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="#b46efb"
Gradient stop
<stop stop-color="#b46efb"/>
CSS variable + fill
:root { --c: #b46efb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b46efb; background-color: #b46efb; bg-[#b46efb]