#643ce3
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 | #643ce3 | |
| RGB | rgb(100 60 227) | |
| HSL | hsl(254.37 74.89% 56.27%) | |
| OKLCH | oklch(0.51 0.23 285.62) | |
| CMYK | cmyk(55.95% 73.57% 0% 10.98%) | |
| Android | #ff643ce3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.36:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.29: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="#643ce3"
Gradient stop
<stop stop-color="#643ce3"/>
CSS variable + fill
:root { --c: #643ce3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #643ce3; background-color: #643ce3; bg-[#643ce3]