#604ed7
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 | #604ed7 | |
| RGB | rgb(96 78 215) | |
| HSL | hsl(247.88 63.13% 57.45%) | |
| OKLCH | oklch(0.52 0.2 282.93) | |
| CMYK | cmyk(55.35% 63.72% 0% 15.69%) | |
| Android | #ff604ed7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.56: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="#604ed7"
Gradient stop
<stop stop-color="#604ed7"/>
CSS variable + fill
:root { --c: #604ed7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #604ed7; background-color: #604ed7; bg-[#604ed7]