#c159cd
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 | #c159cd | |
| RGB | rgb(193 89 205) | |
| HSL | hsl(293.79 53.7% 57.65%) | |
| OKLCH | oklch(0.64 0.19 323.41) | |
| CMYK | cmyk(5.85% 56.59% 0% 19.61%) | |
| Android | #ffc159cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#c159cd"
Gradient stop
<stop stop-color="#c159cd"/>
CSS variable + fill
:root { --c: #c159cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c159cd; background-color: #c159cd; bg-[#c159cd]