#c295db
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 | #c295db | |
| RGB | rgb(194 149 219) | |
| HSL | hsl(278.57 49.3% 72.16%) | |
| OKLCH | oklch(0.74 0.11 313.08) | |
| CMYK | cmyk(11.42% 31.96% 0% 14.12%) | |
| Android | #ffc295db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.61: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="#c295db"
Gradient stop
<stop stop-color="#c295db"/>
CSS variable + fill
:root { --c: #c295db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c295db; background-color: #c295db; bg-[#c295db]