#ad8efd
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 | #ad8efd | |
| RGB | rgb(173 142 253) | |
| HSL | hsl(256.76 96.52% 77.45%) | |
| OKLCH | oklch(0.72 0.16 294.97) | |
| CMYK | cmyk(31.62% 43.87% 0% 0.78%) | |
| Android | #ffad8efd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.06: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="#ad8efd"
Gradient stop
<stop stop-color="#ad8efd"/>
CSS variable + fill
:root { --c: #ad8efd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ad8efd; background-color: #ad8efd; bg-[#ad8efd]