#c262c7
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 | #c262c7 | |
| RGB | rgb(194 98 199) | |
| HSL | hsl(297.03 47.42% 58.24%) | |
| OKLCH | oklch(0.65 0.18 325.49) | |
| CMYK | cmyk(2.51% 50.75% 0% 21.96%) | |
| Android | #ffc262c7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.86: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="#c262c7"
Gradient stop
<stop stop-color="#c262c7"/>
CSS variable + fill
:root { --c: #c262c7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c262c7; background-color: #c262c7; bg-[#c262c7]