#c462ff
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 | #c462ff | |
| RGB | rgb(196 98 255) | |
| HSL | hsl(277.45 100% 69.22%) | |
| OKLCH | oklch(0.68 0.23 310.44) | |
| CMYK | cmyk(23.14% 61.57% 0% 0%) | |
| Android | #ffc462ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.53: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="#c462ff"
Gradient stop
<stop stop-color="#c462ff"/>
CSS variable + fill
:root { --c: #c462ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c462ff; background-color: #c462ff; bg-[#c462ff]