#cd7fe9
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 | #cd7fe9 | |
| RGB | rgb(205 127 233) | |
| HSL | hsl(284.15 70.67% 70.59%) | |
| OKLCH | oklch(0.72 0.17 316.64) | |
| CMYK | cmyk(12.02% 45.49% 0% 8.63%) | |
| Android | #ffcd7fe9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.68:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.80: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="#cd7fe9"
Gradient stop
<stop stop-color="#cd7fe9"/>
CSS variable + fill
:root { --c: #cd7fe9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd7fe9; background-color: #cd7fe9; bg-[#cd7fe9]