#c262e6
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 | #c262e6 | |
| RGB | rgb(194 98 230) | |
| HSL | hsl(283.64 72.53% 64.31%) | |
| OKLCH | oklch(0.66 0.21 315.84) | |
| CMYK | cmyk(15.65% 57.39% 0% 9.8%) | |
| Android | #ffc262e6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.18: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="#c262e6"
Gradient stop
<stop stop-color="#c262e6"/>
CSS variable + fill
:root { --c: #c262e6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c262e6; background-color: #c262e6; bg-[#c262e6]