#c79ffe
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 | #c79ffe | |
| RGB | rgb(199 159 254) | |
| HSL | hsl(265.26 97.94% 80.98%) | |
| OKLCH | oklch(0.77 0.14 302.69) | |
| CMYK | cmyk(21.65% 37.4% 0% 0.39%) | |
| Android | #ffc79ffe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.81: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="#c79ffe"
Gradient stop
<stop stop-color="#c79ffe"/>
CSS variable + fill
:root { --c: #c79ffe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c79ffe; background-color: #c79ffe; bg-[#c79ffe]