#af61df
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 | #af61df | |
| RGB | rgb(175 97 223) | |
| HSL | hsl(277.14 66.32% 62.75%) | |
| OKLCH | oklch(0.64 0.19 310.64) | |
| CMYK | cmyk(21.52% 56.5% 0% 12.55%) | |
| Android | #ffaf61df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.59: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="#af61df"
Gradient stop
<stop stop-color="#af61df"/>
CSS variable + fill
:root { --c: #af61df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af61df; background-color: #af61df; bg-[#af61df]