#cb52ba
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 | #cb52ba | |
| RGB | rgb(203 82 186) | |
| HSL | hsl(308.43 53.78% 55.88%) | |
| OKLCH | oklch(0.63 0.19 333.47) | |
| CMYK | cmyk(0% 59.61% 8.37% 20.39%) | |
| Android | #ffcb52ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.45: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="#cb52ba"
Gradient stop
<stop stop-color="#cb52ba"/>
CSS variable + fill
:root { --c: #cb52ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb52ba; background-color: #cb52ba; bg-[#cb52ba]