#c757db
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 | #c757db | |
| RGB | rgb(199 87 219) | |
| HSL | hsl(290.91 64.71% 60%) | |
| OKLCH | oklch(0.65 0.21 321.33) | |
| CMYK | cmyk(9.13% 60.27% 0% 14.12%) | |
| Android | #ffc757db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.61:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.81: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="#c757db"
Gradient stop
<stop stop-color="#c757db"/>
CSS variable + fill
:root { --c: #c757db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c757db; background-color: #c757db; bg-[#c757db]