#d2b5fa
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 | #d2b5fa | |
| RGB | rgb(210 181 250) | |
| HSL | hsl(265.22 87.34% 84.51%) | |
| OKLCH | oklch(0.82 0.1 303.51) | |
| CMYK | cmyk(16% 27.6% 0% 1.96%) | |
| Android | #ffd2b5fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.79:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.73: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="#d2b5fa"
Gradient stop
<stop stop-color="#d2b5fa"/>
CSS variable + fill
:root { --c: #d2b5fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2b5fa; background-color: #d2b5fa; bg-[#d2b5fa]