#c950cd
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 | #c950cd | |
| RGB | rgb(201 80 205) | |
| HSL | hsl(298.08 55.56% 55.88%) | |
| OKLCH | oklch(0.64 0.21 326.42) | |
| CMYK | cmyk(1.95% 60.98% 0% 19.61%) | |
| Android | #ffc950cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#c950cd"
Gradient stop
<stop stop-color="#c950cd"/>
CSS variable + fill
:root { --c: #c950cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c950cd; background-color: #c950cd; bg-[#c950cd]