#af3eb5
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 | #af3eb5 | |
| RGB | rgb(175 62 181) | |
| HSL | hsl(296.97 48.97% 47.65%) | |
| OKLCH | oklch(0.57 0.2 325.73) | |
| CMYK | cmyk(3.31% 65.75% 0% 29.02%) | |
| Android | #ffaf3eb5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17:1
Fail 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="#af3eb5"
Gradient stop
<stop stop-color="#af3eb5"/>
CSS variable + fill
:root { --c: #af3eb5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af3eb5; background-color: #af3eb5; bg-[#af3eb5]