#973bdb
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 | #973bdb | |
| RGB | rgb(151 59 219) | |
| HSL | hsl(274.5 68.97% 54.51%) | |
| OKLCH | oklch(0.56 0.23 306.4) | |
| CMYK | cmyk(31.05% 73.06% 0% 14.12%) | |
| Android | #ff973bdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.96: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="#973bdb"
Gradient stop
<stop stop-color="#973bdb"/>
CSS variable + fill
:root { --c: #973bdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #973bdb; background-color: #973bdb; bg-[#973bdb]