#a02bda
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 | #a02bda | |
| RGB | rgb(160 43 218) | |
| HSL | hsl(280.11 70.28% 51.18%) | |
| OKLCH | oklch(0.55 0.25 310.86) | |
| CMYK | cmyk(26.61% 80.28% 0% 14.51%) | |
| Android | #ffa02bda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.85:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a02bda"
Gradient stop
<stop stop-color="#a02bda"/>
CSS variable + fill
:root { --c: #a02bda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a02bda; background-color: #a02bda; bg-[#a02bda]