#ca81e9
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 | #ca81e9 | |
| RGB | rgb(202 129 233) | |
| HSL | hsl(282.12 70.27% 70.98%) | |
| OKLCH | oklch(0.72 0.16 315.18) | |
| CMYK | cmyk(13.3% 44.64% 0% 8.63%) | |
| Android | #ffca81e9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.68:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.82: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="#ca81e9"
Gradient stop
<stop stop-color="#ca81e9"/>
CSS variable + fill
:root { --c: #ca81e9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca81e9; background-color: #ca81e9; bg-[#ca81e9]