#c370ec
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 | #c370ec | |
| RGB | rgb(195 112 236) | |
| HSL | hsl(280.16 76.54% 68.24%) | |
| OKLCH | oklch(0.69 0.19 313.34) | |
| CMYK | cmyk(17.37% 52.54% 0% 7.45%) | |
| Android | #ffc370ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.84: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="#c370ec"
Gradient stop
<stop stop-color="#c370ec"/>
CSS variable + fill
:root { --c: #c370ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c370ec; background-color: #c370ec; bg-[#c370ec]