#a26fdb
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 | #a26fdb | |
| RGB | rgb(162 111 219) | |
| HSL | hsl(268.33 60% 64.71%) | |
| OKLCH | oklch(0.64 0.16 303.98) | |
| CMYK | cmyk(26.03% 49.32% 0% 14.12%) | |
| Android | #ffa26fdb |
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="#a26fdb"
Gradient stop
<stop stop-color="#a26fdb"/>
CSS variable + fill
:root { --c: #a26fdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a26fdb; background-color: #a26fdb; bg-[#a26fdb]