#c478de
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 | #c478de | |
| RGB | rgb(196 120 222) | |
| HSL | hsl(284.71 60.71% 67.06%) | |
| OKLCH | oklch(0.69 0.16 317.03) | |
| CMYK | cmyk(11.71% 45.95% 0% 12.94%) | |
| Android | #ffc478de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.96:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.08: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="#c478de"
Gradient stop
<stop stop-color="#c478de"/>
CSS variable + fill
:root { --c: #c478de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c478de; background-color: #c478de; bg-[#c478de]