#d775fd
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 | #d775fd | |
| RGB | rgb(215 117 253) | |
| HSL | hsl(283.24 97.14% 72.55%) | |
| OKLCH | oklch(0.72 0.21 315.67) | |
| CMYK | cmyk(15.02% 53.75% 0% 0.78%) | |
| Android | #ffd775fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.85: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="#d775fd"
Gradient stop
<stop stop-color="#d775fd"/>
CSS variable + fill
:root { --c: #d775fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d775fd; background-color: #d775fd; bg-[#d775fd]