#954fe2
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 | #954fe2 | |
| RGB | rgb(149 79 226) | |
| HSL | hsl(268.57 71.71% 59.8%) | |
| OKLCH | oklch(0.58 0.21 302) | |
| CMYK | cmyk(34.07% 65.04% 0% 11.37%) | |
| Android | #ff954fe2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.49: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="#954fe2"
Gradient stop
<stop stop-color="#954fe2"/>
CSS variable + fill
:root { --c: #954fe2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #954fe2; background-color: #954fe2; bg-[#954fe2]