#c125dc
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 | #c125dc | |
| RGB | rgb(193 37 220) | |
| HSL | hsl(291.15 72.33% 50.39%) | |
| OKLCH | oklch(0.6 0.26 320.9) | |
| CMYK | cmyk(12.27% 83.18% 0% 13.73%) | |
| Android | #ffc125dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#c125dc"
Gradient stop
<stop stop-color="#c125dc"/>
CSS variable + fill
:root { --c: #c125dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c125dc; background-color: #c125dc; bg-[#c125dc]