#c080f9
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 | #c080f9 | |
| RGB | rgb(192 128 249) | |
| HSL | hsl(271.74 90.98% 73.92%) | |
| OKLCH | oklch(0.71 0.18 306.84) | |
| CMYK | cmyk(22.89% 48.59% 0% 2.35%) | |
| Android | #ffc080f9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.69: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="#c080f9"
Gradient stop
<stop stop-color="#c080f9"/>
CSS variable + fill
:root { --c: #c080f9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c080f9; background-color: #c080f9; bg-[#c080f9]