#af67fd
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 | #af67fd | |
| RGB | rgb(175 103 253) | |
| HSL | hsl(268.8 97.4% 69.8%) | |
| OKLCH | oklch(0.66 0.22 303.06) | |
| CMYK | cmyk(30.83% 59.29% 0% 0.78%) | |
| Android | #ffaf67fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.18: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="#af67fd"
Gradient stop
<stop stop-color="#af67fd"/>
CSS variable + fill
:root { --c: #af67fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af67fd; background-color: #af67fd; bg-[#af67fd]