#745bcb
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 | #745bcb | |
| RGB | rgb(116 91 203) | |
| HSL | hsl(253.39 51.85% 57.65%) | |
| OKLCH | oklch(0.55 0.17 290.14) | |
| CMYK | cmyk(42.86% 55.17% 0% 20.39%) | |
| Android | #ff745bcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.10: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="#745bcb"
Gradient stop
<stop stop-color="#745bcb"/>
CSS variable + fill
:root { --c: #745bcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #745bcb; background-color: #745bcb; bg-[#745bcb]