#ca99fb
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 | #ca99fb | |
| RGB | rgb(202 153 251) | |
| HSL | hsl(270 92.45% 79.22%) | |
| OKLCH | oklch(0.77 0.14 306.27) | |
| CMYK | cmyk(19.52% 39.04% 0% 1.57%) | |
| Android | #ffca99fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.46: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="#ca99fb"
Gradient stop
<stop stop-color="#ca99fb"/>
CSS variable + fill
:root { --c: #ca99fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca99fb; background-color: #ca99fb; bg-[#ca99fb]