#ca6fdf
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 | #ca6fdf | |
| RGB | rgb(202 111 223) | |
| HSL | hsl(288.75 63.64% 65.49%) | |
| OKLCH | oklch(0.69 0.18 319.86) | |
| CMYK | cmyk(9.42% 50.22% 0% 12.55%) | |
| Android | #ffca6fdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.85: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="#ca6fdf"
Gradient stop
<stop stop-color="#ca6fdf"/>
CSS variable + fill
:root { --c: #ca6fdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca6fdf; background-color: #ca6fdf; bg-[#ca6fdf]