#746ffb
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 | #746ffb | |
| RGB | rgb(116 111 251) | |
| HSL | hsl(242.14 94.59% 70.98%) | |
| OKLCH | oklch(0.62 0.2 280.31) | |
| CMYK | cmyk(53.78% 55.78% 0% 1.57%) | |
| Android | #ff746ffb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#746ffb"
Gradient stop
<stop stop-color="#746ffb"/>
CSS variable + fill
:root { --c: #746ffb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #746ffb; background-color: #746ffb; bg-[#746ffb]