#cbb2f9
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 | #cbb2f9 | |
| RGB | rgb(203 178 249) | |
| HSL | hsl(261.13 85.54% 83.73%) | |
| OKLCH | oklch(0.81 0.1 300.3) | |
| CMYK | cmyk(18.47% 28.51% 0% 2.35%) | |
| Android | #ffcbb2f9 |
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.27: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="#cbb2f9"
Gradient stop
<stop stop-color="#cbb2f9"/>
CSS variable + fill
:root { --c: #cbb2f9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbb2f9; background-color: #cbb2f9; bg-[#cbb2f9]