#ad80fb
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 | #ad80fb | |
| RGB | rgb(173 128 251) | |
| HSL | hsl(261.95 93.89% 74.31%) | |
| OKLCH | oklch(0.7 0.18 298.58) | |
| CMYK | cmyk(31.08% 49% 0% 1.57%) | |
| Android | #ffad80fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.25: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="#ad80fb"
Gradient stop
<stop stop-color="#ad80fb"/>
CSS variable + fill
:root { --c: #ad80fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ad80fb; background-color: #ad80fb; bg-[#ad80fb]