#652fca
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 | #652fca | |
| RGB | rgb(101 47 202) | |
| HSL | hsl(260.9 62.25% 48.82%) | |
| OKLCH | oklch(0.48 0.22 291.55) | |
| CMYK | cmyk(50% 76.73% 0% 20.78%) | |
| Android | #ff652fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.46:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.81:1
Fail AA normal text
Fail 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="#652fca"
Gradient stop
<stop stop-color="#652fca"/>
CSS variable + fill
:root { --c: #652fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #652fca; background-color: #652fca; bg-[#652fca]