#cd48e6
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 | #cd48e6 | |
| RGB | rgb(205 72 230) | |
| HSL | hsl(290.51 75.96% 59.22%) | |
| OKLCH | oklch(0.65 0.24 320.87) | |
| CMYK | cmyk(10.87% 68.7% 0% 9.8%) | |
| Android | #ffcd48e6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.66: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="#cd48e6"
Gradient stop
<stop stop-color="#cd48e6"/>
CSS variable + fill
:root { --c: #cd48e6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd48e6; background-color: #cd48e6; bg-[#cd48e6]