#672ceb
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 | #672ceb | |
| RGB | rgb(103 44 235) | |
| HSL | hsl(258.53 82.68% 54.71%) | |
| OKLCH | oklch(0.51 0.26 287.04) | |
| CMYK | cmyk(56.17% 81.28% 0% 7.84%) | |
| Android | #ff672ceb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#672ceb"
Gradient stop
<stop stop-color="#672ceb"/>
CSS variable + fill
:root { --c: #672ceb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #672ceb; background-color: #672ceb; bg-[#672ceb]