#cb7dec
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 | #cb7dec | |
| RGB | rgb(203 125 236) | |
| HSL | hsl(282.16 74.5% 70.78%) | |
| OKLCH | oklch(0.71 0.17 315.13) | |
| CMYK | cmyk(13.98% 47.03% 0% 7.45%) | |
| Android | #ffcb7dec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.68: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="#cb7dec"
Gradient stop
<stop stop-color="#cb7dec"/>
CSS variable + fill
:root { --c: #cb7dec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb7dec; background-color: #cb7dec; bg-[#cb7dec]