#968ddd
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 | #968ddd | |
| RGB | rgb(150 141 221) | |
| HSL | hsl(246.75 54.05% 70.98%) | |
| OKLCH | oklch(0.68 0.12 288.06) | |
| CMYK | cmyk(32.13% 36.2% 0% 13.33%) | |
| Android | #ff968ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.15: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="#968ddd"
Gradient stop
<stop stop-color="#968ddd"/>
CSS variable + fill
:root { --c: #968ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #968ddd; background-color: #968ddd; bg-[#968ddd]