#cd54d4
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 | #cd54d4 | |
| RGB | rgb(205 84 212) | |
| HSL | hsl(296.72 59.81% 58.04%) | |
| OKLCH | oklch(0.65 0.21 325.48) | |
| CMYK | cmyk(3.3% 60.38% 0% 16.86%) | |
| Android | #ffcd54d4 |
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="#cd54d4"
Gradient stop
<stop stop-color="#cd54d4"/>
CSS variable + fill
:root { --c: #cd54d4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd54d4; background-color: #cd54d4; bg-[#cd54d4]