#ac87ea
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 | #ac87ea | |
| RGB | rgb(172 135 234) | |
| HSL | hsl(262.42 70.21% 72.35%) | |
| OKLCH | oklch(0.7 0.15 299.89) | |
| CMYK | cmyk(26.5% 42.31% 0% 8.24%) | |
| Android | #ffac87ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.83:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.40: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="#ac87ea"
Gradient stop
<stop stop-color="#ac87ea"/>
CSS variable + fill
:root { --c: #ac87ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac87ea; background-color: #ac87ea; bg-[#ac87ea]