#ca97e2
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 | #ca97e2 | |
| RGB | rgb(202 151 226) | |
| HSL | hsl(280.8 56.39% 73.92%) | |
| OKLCH | oklch(0.75 0.12 314.6) | |
| CMYK | cmyk(10.62% 33.19% 0% 11.37%) | |
| Android | #ffca97e2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.32:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.03: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="#ca97e2"
Gradient stop
<stop stop-color="#ca97e2"/>
CSS variable + fill
:root { --c: #ca97e2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca97e2; background-color: #ca97e2; bg-[#ca97e2]