#ac8ddd
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 | #ac8ddd | |
| RGB | rgb(172 141 221) | |
| HSL | hsl(263.25 54.05% 70.98%) | |
| OKLCH | oklch(0.7 0.12 301.24) | |
| CMYK | cmyk(22.17% 36.2% 0% 13.33%) | |
| Android | #ffac8ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.60: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="#ac8ddd"
Gradient stop
<stop stop-color="#ac8ddd"/>
CSS variable + fill
:root { --c: #ac8ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac8ddd; background-color: #ac8ddd; bg-[#ac8ddd]