#a855eb
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 | #a855eb | |
| RGB | rgb(168 85 235) | |
| HSL | hsl(273.2 78.95% 62.75%) | |
| OKLCH | oklch(0.62 0.22 306.45) | |
| CMYK | cmyk(28.51% 63.83% 0% 7.84%) | |
| Android | #ffa855eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#a855eb"
Gradient stop
<stop stop-color="#a855eb"/>
CSS variable + fill
:root { --c: #a855eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a855eb; background-color: #a855eb; bg-[#a855eb]