#a795df
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 | #a795df | |
| RGB | rgb(167 149 223) | |
| HSL | hsl(254.59 53.62% 72.94%) | |
| OKLCH | oklch(0.71 0.11 294.7) | |
| CMYK | cmyk(25.11% 33.18% 0% 12.55%) | |
| Android | #ffa795df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.00: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="#a795df"
Gradient stop
<stop stop-color="#a795df"/>
CSS variable + fill
:root { --c: #a795df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a795df; background-color: #a795df; bg-[#a795df]