#664fca
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 | #664fca | |
| RGB | rgb(102 79 202) | |
| HSL | hsl(251.22 53.71% 55.1%) | |
| OKLCH | oklch(0.52 0.18 286.81) | |
| CMYK | cmyk(49.5% 60.89% 0% 20.78%) | |
| Android | #ff664fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.53: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="#664fca"
Gradient stop
<stop stop-color="#664fca"/>
CSS variable + fill
:root { --c: #664fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #664fca; background-color: #664fca; bg-[#664fca]