#ca84ff
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 | #ca84ff | |
| RGB | rgb(202 132 255) | |
| HSL | hsl(274.15 100% 75.88%) | |
| OKLCH | oklch(0.73 0.18 308.82) | |
| CMYK | cmyk(20.78% 48.24% 0% 0%) | |
| Android | #ffca84ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.25: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="#ca84ff"
Gradient stop
<stop stop-color="#ca84ff"/>
CSS variable + fill
:root { --c: #ca84ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca84ff; background-color: #ca84ff; bg-[#ca84ff]