#6945d7
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 | #6945d7 | |
| RGB | rgb(105 69 215) | |
| HSL | hsl(254.79 64.6% 55.69%) | |
| OKLCH | oklch(0.52 0.21 288.03) | |
| CMYK | cmyk(51.16% 67.91% 0% 15.69%) | |
| Android | #ff6945d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#6945d7"
Gradient stop
<stop stop-color="#6945d7"/>
CSS variable + fill
:root { --c: #6945d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6945d7; background-color: #6945d7; bg-[#6945d7]