#cac8fa
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 | #cac8fa | |
| RGB | rgb(202 200 250) | |
| HSL | hsl(242.4 83.33% 88.24%) | |
| OKLCH | oklch(0.85 0.07 286.66) | |
| CMYK | cmyk(19.2% 20% 0% 1.96%) | |
| Android | #ffcac8fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.59:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.15: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="#cac8fa"
Gradient stop
<stop stop-color="#cac8fa"/>
CSS variable + fill
:root { --c: #cac8fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cac8fa; background-color: #cac8fa; bg-[#cac8fa]