#af80ce
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 | #af80ce | |
| RGB | rgb(175 128 206) | |
| HSL | hsl(276.15 44.32% 65.49%) | |
| OKLCH | oklch(0.68 0.12 311.07) | |
| CMYK | cmyk(15.05% 37.86% 0% 19.22%) | |
| Android | #ffaf80ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.80: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="#af80ce"
Gradient stop
<stop stop-color="#af80ce"/>
CSS variable + fill
:root { --c: #af80ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af80ce; background-color: #af80ce; bg-[#af80ce]