#820387
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 | #820387 | |
| RGB | rgb(130 3 135) | |
| HSL | hsl(297.73 95.65% 27.06%) | |
| OKLCH | oklch(0.43 0.2 326.37) | |
| CMYK | cmyk(3.7% 97.78% 0% 47.06%) | |
| Android | #ff820387 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.31: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="#820387"
Gradient stop
<stop stop-color="#820387"/>
CSS variable + fill
:root { --c: #820387; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #820387; background-color: #820387; bg-[#820387]