#ac64eb
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 | #ac64eb | |
| RGB | rgb(172 100 235) | |
| HSL | hsl(272 77.14% 65.69%) | |
| OKLCH | oklch(0.64 0.2 306.16) | |
| CMYK | cmyk(26.81% 57.45% 0% 7.84%) | |
| Android | #ffac64eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.77: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="#ac64eb"
Gradient stop
<stop stop-color="#ac64eb"/>
CSS variable + fill
:root { --c: #ac64eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac64eb; background-color: #ac64eb; bg-[#ac64eb]