#a338dd
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 | #a338dd | |
| RGB | rgb(163 56 221) | |
| HSL | hsl(278.91 70.82% 54.31%) | |
| OKLCH | oklch(0.57 0.24 310.41) | |
| CMYK | cmyk(26.24% 74.66% 0% 13.33%) | |
| Android | #ffa338dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.03:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16: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="#a338dd"
Gradient stop
<stop stop-color="#a338dd"/>
CSS variable + fill
:root { --c: #a338dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a338dd; background-color: #a338dd; bg-[#a338dd]