#ac8cee
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 | #ac8cee | |
| RGB | rgb(172 140 238) | |
| HSL | hsl(259.59 74.24% 74.12%) | |
| OKLCH | oklch(0.71 0.14 297.71) | |
| CMYK | cmyk(27.73% 41.18% 0% 6.67%) | |
| Android | #ffac8cee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.73: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="#ac8cee"
Gradient stop
<stop stop-color="#ac8cee"/>
CSS variable + fill
:root { --c: #ac8cee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac8cee; background-color: #ac8cee; bg-[#ac8cee]