#af45ca
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 | #af45ca | |
| RGB | rgb(175 69 202) | |
| HSL | hsl(287.82 55.65% 53.14%) | |
| OKLCH | oklch(0.59 0.21 318.84) | |
| CMYK | cmyk(13.37% 65.84% 0% 20.78%) | |
| Android | #ffaf45ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#af45ca"
Gradient stop
<stop stop-color="#af45ca"/>
CSS variable + fill
:root { --c: #af45ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af45ca; background-color: #af45ca; bg-[#af45ca]