#a87ddd
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 | #a87ddd | |
| RGB | rgb(168 125 221) | |
| HSL | hsl(266.88 58.54% 67.84%) | |
| OKLCH | oklch(0.67 0.14 303.41) | |
| CMYK | cmyk(23.98% 43.44% 0% 13.33%) | |
| Android | #ffa87ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.64: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="#a87ddd"
Gradient stop
<stop stop-color="#a87ddd"/>
CSS variable + fill
:root { --c: #a87ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a87ddd; background-color: #a87ddd; bg-[#a87ddd]