#ca98ed
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 | #ca98ed | |
| RGB | rgb(202 152 237) | |
| HSL | hsl(275.29 70.25% 76.27%) | |
| OKLCH | oklch(0.76 0.13 310.52) | |
| CMYK | cmyk(14.77% 35.86% 0% 7.06%) | |
| Android | #ffca98ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.27:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.22: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="#ca98ed"
Gradient stop
<stop stop-color="#ca98ed"/>
CSS variable + fill
:root { --c: #ca98ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca98ed; background-color: #ca98ed; bg-[#ca98ed]