#684a87
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 | #684a87 | |
| RGB | rgb(104 74 135) | |
| HSL | hsl(269.51 29.19% 40.98%) | |
| OKLCH | oklch(0.47 0.1 305.52) | |
| CMYK | cmyk(22.96% 45.19% 0% 47.06%) | |
| Android | #ff684a87 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.91:1
Fail AA normal text
Fail 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="#684a87"
Gradient stop
<stop stop-color="#684a87"/>
CSS variable + fill
:root { --c: #684a87; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #684a87; background-color: #684a87; bg-[#684a87]