#cb76db
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 | #cb76db | |
| RGB | rgb(203 118 219) | |
| HSL | hsl(290.5 58.38% 66.08%) | |
| OKLCH | oklch(0.7 0.17 321.1) | |
| CMYK | cmyk(7.31% 46.12% 0% 14.12%) | |
| Android | #ffcb76db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.15: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="#cb76db"
Gradient stop
<stop stop-color="#cb76db"/>
CSS variable + fill
:root { --c: #cb76db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb76db; background-color: #cb76db; bg-[#cb76db]