#cd54f9
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 | #cd54f9 | |
| RGB | rgb(205 84 249) | |
| HSL | hsl(284 93.22% 65.29%) | |
| OKLCH | oklch(0.67 0.25 315.66) | |
| CMYK | cmyk(17.67% 66.27% 0% 2.35%) | |
| Android | #ffcd54f9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23: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="#cd54f9"
Gradient stop
<stop stop-color="#cd54f9"/>
CSS variable + fill
:root { --c: #cd54f9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd54f9; background-color: #cd54f9; bg-[#cd54f9]