#a552db
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 | #a552db | |
| RGB | rgb(165 82 219) | |
| HSL | hsl(276.35 65.55% 59.02%) | |
| OKLCH | oklch(0.6 0.21 309.43) | |
| CMYK | cmyk(24.66% 62.56% 0% 14.12%) | |
| Android | #ffa552db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82: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="#a552db"
Gradient stop
<stop stop-color="#a552db"/>
CSS variable + fill
:root { --c: #a552db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a552db; background-color: #a552db; bg-[#a552db]