#a208cb
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 | #a208cb | |
| RGB | rgb(162 8 203) | |
| HSL | hsl(287.38 92.42% 41.37%) | |
| OKLCH | oklch(0.53 0.26 316.32) | |
| CMYK | cmyk(20.2% 96.06% 0% 20.39%) | |
| Android | #ffa208cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#a208cb"
Gradient stop
<stop stop-color="#a208cb"/>
CSS variable + fill
:root { --c: #a208cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a208cb; background-color: #a208cb; bg-[#a208cb]