#af92ee
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 | #af92ee | |
| RGB | rgb(175 146 238) | |
| HSL | hsl(258.91 73.02% 75.29%) | |
| OKLCH | oklch(0.72 0.13 297.47) | |
| CMYK | cmyk(26.47% 38.66% 0% 6.67%) | |
| Android | #ffaf92ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16: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="#af92ee"
Gradient stop
<stop stop-color="#af92ee"/>
CSS variable + fill
:root { --c: #af92ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af92ee; background-color: #af92ee; bg-[#af92ee]