#c8afdd
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 | #c8afdd | |
| RGB | rgb(200 175 221) | |
| HSL | hsl(272.61 40.35% 77.65%) | |
| OKLCH | oklch(0.79 0.07 309.35) | |
| CMYK | cmyk(9.5% 20.81% 0% 13.33%) | |
| Android | #ffc8afdd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.63: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="#c8afdd"
Gradient stop
<stop stop-color="#c8afdd"/>
CSS variable + fill
:root { --c: #c8afdd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8afdd; background-color: #c8afdd; bg-[#c8afdd]