#892dca
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 | #892dca | |
| RGB | rgb(137 45 202) | |
| HSL | hsl(275.16 63.56% 48.43%) | |
| OKLCH | oklch(0.51 0.23 306.36) | |
| CMYK | cmyk(32.18% 77.72% 0% 20.78%) | |
| Android | #ff892dca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.29: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="#892dca"
Gradient stop
<stop stop-color="#892dca"/>
CSS variable + fill
:root { --c: #892dca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #892dca; background-color: #892dca; bg-[#892dca]