#cfb9db
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 | #cfb9db | |
| RGB | rgb(207 185 219) | |
| HSL | hsl(278.82 32.08% 79.22%) | |
| OKLCH | oklch(0.82 0.05 313.75) | |
| CMYK | cmyk(5.48% 15.53% 0% 14.12%) | |
| Android | #ffcfb9db |
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.61: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="#cfb9db"
Gradient stop
<stop stop-color="#cfb9db"/>
CSS variable + fill
:root { --c: #cfb9db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfb9db; background-color: #cfb9db; bg-[#cfb9db]