#945df2
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 | #945df2 | |
| RGB | rgb(148 93 242) | |
| HSL | hsl(262.15 85.14% 65.69%) | |
| OKLCH | oklch(0.61 0.21 296.57) | |
| CMYK | cmyk(38.84% 61.57% 0% 5.1%) | |
| Android | #ff945df2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.10: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="#945df2"
Gradient stop
<stop stop-color="#945df2"/>
CSS variable + fill
:root { --c: #945df2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #945df2; background-color: #945df2; bg-[#945df2]