#a855dd
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 | #a855dd | |
| RGB | rgb(168 85 221) | |
| HSL | hsl(276.62 66.67% 60%) | |
| OKLCH | oklch(0.61 0.21 309.76) | |
| CMYK | cmyk(23.98% 61.54% 0% 13.33%) | |
| Android | #ffa855dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.00: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="#a855dd"
Gradient stop
<stop stop-color="#a855dd"/>
CSS variable + fill
:root { --c: #a855dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a855dd; background-color: #a855dd; bg-[#a855dd]