#c97fda
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 | #c97fda | |
| RGB | rgb(201 127 218) | |
| HSL | hsl(288.79 55.15% 67.65%) | |
| OKLCH | oklch(0.71 0.15 319.95) | |
| CMYK | cmyk(7.8% 41.74% 0% 14.51%) | |
| Android | #ffc97fda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.78:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.53: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="#c97fda"
Gradient stop
<stop stop-color="#c97fda"/>
CSS variable + fill
:root { --c: #c97fda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c97fda; background-color: #c97fda; bg-[#c97fda]