#975ddd
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 | #975ddd | |
| RGB | rgb(151 93 221) | |
| HSL | hsl(267.19 65.31% 61.57%) | |
| OKLCH | oklch(0.6 0.19 301.88) | |
| CMYK | cmyk(31.67% 57.92% 0% 13.33%) | |
| Android | #ff975ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92: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="#975ddd"
Gradient stop
<stop stop-color="#975ddd"/>
CSS variable + fill
:root { --c: #975ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #975ddd; background-color: #975ddd; bg-[#975ddd]