#6505cb
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 | #6505cb | |
| RGB | rgb(101 5 203) | |
| HSL | hsl(269.09 95.19% 40.78%) | |
| OKLCH | oklch(0.45 0.25 293.97) | |
| CMYK | cmyk(50.25% 97.54% 0% 20.39%) | |
| Android | #ff6505cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.43: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="#6505cb"
Gradient stop
<stop stop-color="#6505cb"/>
CSS variable + fill
:root { --c: #6505cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6505cb; background-color: #6505cb; bg-[#6505cb]