#b466f2
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 | #b466f2 | |
| RGB | rgb(180 102 242) | |
| HSL | hsl(273.43 84.34% 67.45%) | |
| OKLCH | oklch(0.66 0.21 307.35) | |
| CMYK | cmyk(25.62% 57.85% 0% 5.1%) | |
| Android | #ffb466f2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#b466f2"
Gradient stop
<stop stop-color="#b466f2"/>
CSS variable + fill
:root { --c: #b466f2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b466f2; background-color: #b466f2; bg-[#b466f2]