#645dd2
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 | #645dd2 | |
| RGB | rgb(100 93 210) | |
| HSL | hsl(243.59 56.52% 59.41%) | |
| OKLCH | oklch(0.55 0.17 281.65) | |
| CMYK | cmyk(52.38% 55.71% 0% 17.65%) | |
| Android | #ff645dd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.03:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#645dd2"
Gradient stop
<stop stop-color="#645dd2"/>
CSS variable + fill
:root { --c: #645dd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #645dd2; background-color: #645dd2; bg-[#645dd2]