#c239d2
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 | #c239d2 | |
| RGB | rgb(194 57 210) | |
| HSL | hsl(293.73 62.96% 52.35%) | |
| OKLCH | oklch(0.61 0.24 323.33) | |
| CMYK | cmyk(7.62% 72.86% 0% 17.65%) | |
| Android | #ffc239d2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.80: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="#c239d2"
Gradient stop
<stop stop-color="#c239d2"/>
CSS variable + fill
:root { --c: #c239d2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c239d2; background-color: #c239d2; bg-[#c239d2]