#ca9fed
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 | #ca9fed | |
| RGB | rgb(202 159 237) | |
| HSL | hsl(273.08 68.42% 77.65%) | |
| OKLCH | oklch(0.77 0.12 309.04) | |
| CMYK | cmyk(14.77% 32.91% 0% 7.06%) | |
| Android | #ffca9fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.69: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="#ca9fed"
Gradient stop
<stop stop-color="#ca9fed"/>
CSS variable + fill
:root { --c: #ca9fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca9fed; background-color: #ca9fed; bg-[#ca9fed]