#af33d7
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 | #af33d7 | |
| RGB | rgb(175 51 215) | |
| HSL | hsl(285.37 67.21% 52.16%) | |
| OKLCH | oklch(0.58 0.24 316.21) | |
| CMYK | cmyk(18.6% 76.28% 0% 15.69%) | |
| Android | #ffaf33d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27: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="#af33d7"
Gradient stop
<stop stop-color="#af33d7"/>
CSS variable + fill
:root { --c: #af33d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af33d7; background-color: #af33d7; bg-[#af33d7]