#c16cfd
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 | #c16cfd | |
| RGB | rgb(193 108 253) | |
| HSL | hsl(275.17 97.32% 70.78%) | |
| OKLCH | oklch(0.69 0.21 308.88) | |
| CMYK | cmyk(23.72% 57.31% 0% 0.78%) | |
| Android | #ffc16cfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83: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="#c16cfd"
Gradient stop
<stop stop-color="#c16cfd"/>
CSS variable + fill
:root { --c: #c16cfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c16cfd; background-color: #c16cfd; bg-[#c16cfd]