#d04bdd
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 | #d04bdd | |
| RGB | rgb(208 75 221) | |
| HSL | hsl(294.66 68.22% 58.04%) | |
| OKLCH | oklch(0.65 0.23 324.07) | |
| CMYK | cmyk(5.88% 66.06% 0% 13.33%) | |
| Android | #ffd04bdd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#d04bdd"
Gradient stop
<stop stop-color="#d04bdd"/>
CSS variable + fill
:root { --c: #d04bdd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d04bdd; background-color: #d04bdd; bg-[#d04bdd]