#cb9ddd
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 | #cb9ddd | |
| RGB | rgb(203 157 221) | |
| HSL | hsl(283.13 48.48% 74.12%) | |
| OKLCH | oklch(0.76 0.1 316.28) | |
| CMYK | cmyk(8.14% 28.96% 0% 13.33%) | |
| Android | #ffcb9ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.40: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="#cb9ddd"
Gradient stop
<stop stop-color="#cb9ddd"/>
CSS variable + fill
:root { --c: #cb9ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb9ddd; background-color: #cb9ddd; bg-[#cb9ddd]