#d48bfc
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 | #d48bfc | |
| RGB | rgb(212 139 252) | |
| HSL | hsl(278.76 94.96% 76.67%) | |
| OKLCH | oklch(0.75 0.17 312.65) | |
| CMYK | cmyk(15.87% 44.84% 0% 1.18%) | |
| Android | #ffd48bfc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.89: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="#d48bfc"
Gradient stop
<stop stop-color="#d48bfc"/>
CSS variable + fill
:root { --c: #d48bfc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d48bfc; background-color: #d48bfc; bg-[#d48bfc]