#818dfd
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 | #818dfd | |
| RGB | rgb(129 141 253) | |
| HSL | hsl(234.19 96.88% 74.9%) | |
| OKLCH | oklch(0.68 0.16 276.56) | |
| CMYK | cmyk(49.01% 44.27% 0% 0.78%) | |
| Android | #ff818dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.16: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="#818dfd"
Gradient stop
<stop stop-color="#818dfd"/>
CSS variable + fill
:root { --c: #818dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #818dfd; background-color: #818dfd; bg-[#818dfd]