#cf46d7
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 | #cf46d7 | |
| RGB | rgb(207 70 215) | |
| HSL | hsl(296.69 64.44% 55.88%) | |
| OKLCH | oklch(0.64 0.24 325.56) | |
| CMYK | cmyk(3.72% 67.44% 0% 15.69%) | |
| Android | #ffcf46d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#cf46d7"
Gradient stop
<stop stop-color="#cf46d7"/>
CSS variable + fill
:root { --c: #cf46d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf46d7; background-color: #cf46d7; bg-[#cf46d7]