#c8a5cf
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 | #c8a5cf | |
| RGB | rgb(200 165 207) | |
| HSL | hsl(290 30.43% 72.94%) | |
| OKLCH | oklch(0.77 0.07 320.66) | |
| CMYK | cmyk(3.38% 20.29% 0% 18.82%) | |
| Android | #ffc8a5cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.15:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.73: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="#c8a5cf"
Gradient stop
<stop stop-color="#c8a5cf"/>
CSS variable + fill
:root { --c: #c8a5cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8a5cf; background-color: #c8a5cf; bg-[#c8a5cf]