#d8caeb
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 | #d8caeb | |
| RGB | rgb(216 202 235) | |
| HSL | hsl(265.45 45.21% 85.69%) | |
| OKLCH | oklch(0.86 0.05 304.61) | |
| CMYK | cmyk(8.09% 14.04% 0% 7.84%) | |
| Android | #ffd8caeb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.56: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="#d8caeb"
Gradient stop
<stop stop-color="#d8caeb"/>
CSS variable + fill
:root { --c: #d8caeb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8caeb; background-color: #d8caeb; bg-[#d8caeb]