#ccb5de
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 | #ccb5de | |
| RGB | rgb(204 181 222) | |
| HSL | hsl(273.66 38.32% 79.02%) | |
| OKLCH | oklch(0.81 0.06 310.18) | |
| CMYK | cmyk(8.11% 18.47% 0% 12.94%) | |
| Android | #ffccb5de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.86:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.23: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="#ccb5de"
Gradient stop
<stop stop-color="#ccb5de"/>
CSS variable + fill
:root { --c: #ccb5de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccb5de; background-color: #ccb5de; bg-[#ccb5de]