#cc95e2
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 | #cc95e2 | |
| RGB | rgb(204 149 226) | |
| HSL | hsl(282.86 57.04% 73.53%) | |
| OKLCH | oklch(0.75 0.12 316) | |
| CMYK | cmyk(9.73% 34.07% 0% 11.37%) | |
| Android | #ffcc95e2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.96: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="#cc95e2"
Gradient stop
<stop stop-color="#cc95e2"/>
CSS variable + fill
:root { --c: #cc95e2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc95e2; background-color: #cc95e2; bg-[#cc95e2]