#ed8dfd
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 | #ed8dfd | |
| RGB | rgb(237 141 253) | |
| HSL | hsl(291.43 96.55% 77.25%) | |
| OKLCH | oklch(0.78 0.18 321.72) | |
| CMYK | cmyk(6.32% 44.27% 0% 0.78%) | |
| Android | #ffed8dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.82: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="#ed8dfd"
Gradient stop
<stop stop-color="#ed8dfd"/>
CSS variable + fill
:root { --c: #ed8dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ed8dfd; background-color: #ed8dfd; bg-[#ed8dfd]