#c331e9
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 | #c331e9 | |
| RGB | rgb(195 49 233) | |
| HSL | hsl(287.61 80.7% 55.29%) | |
| OKLCH | oklch(0.62 0.27 317.99) | |
| CMYK | cmyk(16.31% 78.97% 0% 8.63%) | |
| Android | #ffc331e9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.93: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="#c331e9"
Gradient stop
<stop stop-color="#c331e9"/>
CSS variable + fill
:root { --c: #c331e9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c331e9; background-color: #c331e9; bg-[#c331e9]