#cdb7e4
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 | #cdb7e4 | |
| RGB | rgb(205 183 228) | |
| HSL | hsl(269.33 45.45% 80.59%) | |
| OKLCH | oklch(0.81 0.07 307.07) | |
| CMYK | cmyk(10.09% 19.74% 0% 10.59%) | |
| Android | #ffcdb7e4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.48: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="#cdb7e4"
Gradient stop
<stop stop-color="#cdb7e4"/>
CSS variable + fill
:root { --c: #cdb7e4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdb7e4; background-color: #cdb7e4; bg-[#cdb7e4]