#ccb8ec
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 | #ccb8ec | |
| RGB | rgb(204 184 236) | |
| HSL | hsl(263.08 57.78% 82.35%) | |
| OKLCH | oklch(0.82 0.08 302.33) | |
| CMYK | cmyk(13.56% 22.03% 0% 7.45%) | |
| Android | #ffccb8ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.80:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.63: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="#ccb8ec"
Gradient stop
<stop stop-color="#ccb8ec"/>
CSS variable + fill
:root { --c: #ccb8ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccb8ec; background-color: #ccb8ec; bg-[#ccb8ec]