#a378df
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 | #a378df | |
| RGB | rgb(163 120 223) | |
| HSL | hsl(265.05 61.68% 67.25%) | |
| OKLCH | oklch(0.66 0.15 301.6) | |
| CMYK | cmyk(26.91% 46.19% 0% 12.55%) | |
| Android | #ffa378df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.30: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="#a378df"
Gradient stop
<stop stop-color="#a378df"/>
CSS variable + fill
:root { --c: #a378df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a378df; background-color: #a378df; bg-[#a378df]