#ad6aef
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 | #ad6aef | |
| RGB | rgb(173 106 239) | |
| HSL | hsl(270.23 80.61% 67.65%) | |
| OKLCH | oklch(0.66 0.2 304.83) | |
| CMYK | cmyk(27.62% 55.65% 0% 6.27%) | |
| Android | #ffad6aef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.08: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="#ad6aef"
Gradient stop
<stop stop-color="#ad6aef"/>
CSS variable + fill
:root { --c: #ad6aef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ad6aef; background-color: #ad6aef; bg-[#ad6aef]