#cf54cc
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 | #cf54cc | |
| RGB | rgb(207 84 204) | |
| HSL | hsl(301.46 56.16% 57.06%) | |
| OKLCH | oklch(0.65 0.21 328.62) | |
| CMYK | cmyk(0% 59.42% 1.45% 18.82%) | |
| Android | #ffcf54cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.79: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="#cf54cc"
Gradient stop
<stop stop-color="#cf54cc"/>
CSS variable + fill
:root { --c: #cf54cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf54cc; background-color: #cf54cc; bg-[#cf54cc]