#d388eb
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 | #d388eb | |
| RGB | rgb(211 136 235) | |
| HSL | hsl(285.45 71.22% 72.75%) | |
| OKLCH | oklch(0.74 0.16 317.64) | |
| CMYK | cmyk(10.21% 42.13% 0% 7.84%) | |
| Android | #ffd388eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.49: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="#d388eb"
Gradient stop
<stop stop-color="#d388eb"/>
CSS variable + fill
:root { --c: #d388eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d388eb; background-color: #d388eb; bg-[#d388eb]