#c845cd
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 | #c845cd | |
| RGB | rgb(200 69 205) | |
| HSL | hsl(297.79 57.63% 53.73%) | |
| OKLCH | oklch(0.62 0.23 326.33) | |
| CMYK | cmyk(2.44% 66.34% 0% 19.61%) | |
| Android | #ffc845cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18: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="#c845cd"
Gradient stop
<stop stop-color="#c845cd"/>
CSS variable + fill
:root { --c: #c845cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c845cd; background-color: #c845cd; bg-[#c845cd]