#816fbc
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 | #816fbc | |
| RGB | rgb(129 111 188) | |
| HSL | hsl(254.03 36.49% 58.63%) | |
| OKLCH | oklch(0.59 0.12 293.27) | |
| CMYK | cmyk(31.38% 40.96% 0% 26.27%) | |
| Android | #ff816fbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.93: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="#816fbc"
Gradient stop
<stop stop-color="#816fbc"/>
CSS variable + fill
:root { --c: #816fbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #816fbc; background-color: #816fbc; bg-[#816fbc]