#975efd
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 | #975efd | |
| RGB | rgb(151 94 253) | |
| HSL | hsl(261.51 97.55% 68.04%) | |
| OKLCH | oklch(0.62 0.23 295.66) | |
| CMYK | cmyk(40.32% 62.85% 0% 0.78%) | |
| Android | #ff975efd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.33: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="#975efd"
Gradient stop
<stop stop-color="#975efd"/>
CSS variable + fill
:root { --c: #975efd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #975efd; background-color: #975efd; bg-[#975efd]