#cfb8eb
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 | #cfb8eb | |
| RGB | rgb(207 184 235) | |
| HSL | hsl(267.06 56.04% 82.16%) | |
| OKLCH | oklch(0.82 0.07 305.3) | |
| CMYK | cmyk(11.91% 21.7% 0% 7.84%) | |
| Android | #ffcfb8eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.79:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.70: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="#cfb8eb"
Gradient stop
<stop stop-color="#cfb8eb"/>
CSS variable + fill
:root { --c: #cfb8eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfb8eb; background-color: #cfb8eb; bg-[#cfb8eb]