#654dbd
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 | #654dbd | |
| RGB | rgb(101 77 189) | |
| HSL | hsl(252.86 45.9% 52.16%) | |
| OKLCH | oklch(0.51 0.17 288.77) | |
| CMYK | cmyk(46.56% 59.26% 0% 25.88%) | |
| Android | #ff654dbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#654dbd"
Gradient stop
<stop stop-color="#654dbd"/>
CSS variable + fill
:root { --c: #654dbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #654dbd; background-color: #654dbd; bg-[#654dbd]