#ca61fd
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 | #ca61fd | |
| RGB | rgb(202 97 253) | |
| HSL | hsl(280.38 97.5% 68.63%) | |
| OKLCH | oklch(0.68 0.23 312.93) | |
| CMYK | cmyk(20.16% 61.66% 0% 0.78%) | |
| Android | #ffca61fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#ca61fd"
Gradient stop
<stop stop-color="#ca61fd"/>
CSS variable + fill
:root { --c: #ca61fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca61fd; background-color: #ca61fd; bg-[#ca61fd]