#c46dfa
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 | #c46dfa | |
| RGB | rgb(196 109 250) | |
| HSL | hsl(277.02 93.38% 70.39%) | |
| OKLCH | oklch(0.69 0.21 310.52) | |
| CMYK | cmyk(21.6% 56.4% 0% 1.96%) | |
| Android | #ffc46dfa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.91: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="#c46dfa"
Gradient stop
<stop stop-color="#c46dfa"/>
CSS variable + fill
:root { --c: #c46dfa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c46dfa; background-color: #c46dfa; bg-[#c46dfa]