#a682ed
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 | #a682ed | |
| RGB | rgb(166 130 237) | |
| HSL | hsl(260.19 74.83% 71.96%) | |
| OKLCH | oklch(0.69 0.16 297.66) | |
| CMYK | cmyk(29.96% 45.15% 0% 7.06%) | |
| Android | #ffa682ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.03: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="#a682ed"
Gradient stop
<stop stop-color="#a682ed"/>
CSS variable + fill
:root { --c: #a682ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a682ed; background-color: #a682ed; bg-[#a682ed]