#d7bae7
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 | #d7bae7 | |
| RGB | rgb(215 186 231) | |
| HSL | hsl(278.67 48.39% 81.76%) | |
| OKLCH | oklch(0.83 0.07 313.54) | |
| CMYK | cmyk(6.93% 19.48% 0% 9.41%) | |
| Android | #ffd7bae7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.06: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="#d7bae7"
Gradient stop
<stop stop-color="#d7bae7"/>
CSS variable + fill
:root { --c: #d7bae7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7bae7; background-color: #d7bae7; bg-[#d7bae7]