#a26aee
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 | #a26aee | |
| RGB | rgb(162 106 238) | |
| HSL | hsl(265.45 79.52% 67.45%) | |
| OKLCH | oklch(0.64 0.19 300.67) | |
| CMYK | cmyk(31.93% 55.46% 0% 6.67%) | |
| Android | #ffa26aee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.60:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.83: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="#a26aee"
Gradient stop
<stop stop-color="#a26aee"/>
CSS variable + fill
:root { --c: #a26aee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a26aee; background-color: #a26aee; bg-[#a26aee]