#a04fca
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 | #a04fca | |
| RGB | rgb(160 79 202) | |
| HSL | hsl(279.51 53.71% 55.1%) | |
| OKLCH | oklch(0.58 0.19 312.31) | |
| CMYK | cmyk(20.79% 60.89% 0% 20.78%) | |
| Android | #ffa04fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.46: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="#a04fca"
Gradient stop
<stop stop-color="#a04fca"/>
CSS variable + fill
:root { --c: #a04fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a04fca; background-color: #a04fca; bg-[#a04fca]