#b952cd
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 | #b952cd | |
| RGB | rgb(185 82 205) | |
| HSL | hsl(290.24 55.16% 56.27%) | |
| OKLCH | oklch(0.62 0.2 320.84) | |
| CMYK | cmyk(9.76% 60% 0% 19.61%) | |
| Android | #ffb952cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.15: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="#b952cd"
Gradient stop
<stop stop-color="#b952cd"/>
CSS variable + fill
:root { --c: #b952cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b952cd; background-color: #b952cd; bg-[#b952cd]