#d48cfe
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 | #d48cfe | |
| RGB | rgb(212 140 254) | |
| HSL | hsl(277.89 98.28% 77.25%) | |
| OKLCH | oklch(0.76 0.17 311.99) | |
| CMYK | cmyk(16.54% 44.88% 0% 0.39%) | |
| Android | #ffd48cfe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.98: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="#d48cfe"
Gradient stop
<stop stop-color="#d48cfe"/>
CSS variable + fill
:root { --c: #d48cfe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d48cfe; background-color: #d48cfe; bg-[#d48cfe]