#ca7ffd
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 | #ca7ffd | |
| RGB | rgb(202 127 253) | |
| HSL | hsl(275.71 96.92% 74.51%) | |
| OKLCH | oklch(0.72 0.19 309.96) | |
| CMYK | cmyk(20.16% 49.8% 0% 0.78%) | |
| Android | #ffca7ffd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.96: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="#ca7ffd"
Gradient stop
<stop stop-color="#ca7ffd"/>
CSS variable + fill
:root { --c: #ca7ffd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca7ffd; background-color: #ca7ffd; bg-[#ca7ffd]