#d388fd
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 | #d388fd | |
| RGB | rgb(211 136 253) | |
| HSL | hsl(278.46 96.69% 76.27%) | |
| OKLCH | oklch(0.75 0.18 312.35) | |
| CMYK | cmyk(16.6% 46.25% 0% 0.78%) | |
| Android | #ffd388fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.70: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="#d388fd"
Gradient stop
<stop stop-color="#d388fd"/>
CSS variable + fill
:root { --c: #d388fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d388fd; background-color: #d388fd; bg-[#d388fd]