#a45ddd
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 | #a45ddd | |
| RGB | rgb(164 93 221) | |
| HSL | hsl(273.28 65.31% 61.57%) | |
| OKLCH | oklch(0.62 0.19 307.24) | |
| CMYK | cmyk(25.79% 57.92% 0% 13.33%) | |
| Android | #ffa45ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18: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="#a45ddd"
Gradient stop
<stop stop-color="#a45ddd"/>
CSS variable + fill
:root { --c: #a45ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a45ddd; background-color: #a45ddd; bg-[#a45ddd]