#c187ff
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 | #c187ff | |
| RGB | rgb(193 135 255) | |
| HSL | hsl(269 100% 76.47%) | |
| OKLCH | oklch(0.73 0.18 304.73) | |
| CMYK | cmyk(24.31% 47.06% 0% 0%) | |
| Android | #ffc187ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.56:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.17: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="#c187ff"
Gradient stop
<stop stop-color="#c187ff"/>
CSS variable + fill
:root { --c: #c187ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c187ff; background-color: #c187ff; bg-[#c187ff]