#af3bf2
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 | #af3bf2 | |
| RGB | rgb(175 59 242) | |
| HSL | hsl(278.03 87.56% 59.02%) | |
| OKLCH | oklch(0.6 0.26 309.4) | |
| CMYK | cmyk(27.69% 75.62% 0% 5.1%) | |
| Android | #ffaf3bf2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.73: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="#af3bf2"
Gradient stop
<stop stop-color="#af3bf2"/>
CSS variable + fill
:root { --c: #af3bf2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af3bf2; background-color: #af3bf2; bg-[#af3bf2]