#b552d0
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 | #b552d0 | |
| RGB | rgb(181 82 208) | |
| HSL | hsl(287.14 57.27% 56.86%) | |
| OKLCH | oklch(0.61 0.2 318.47) | |
| CMYK | cmyk(12.98% 60.58% 0% 18.43%) | |
| Android | #ffb552d0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08: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="#b552d0"
Gradient stop
<stop stop-color="#b552d0"/>
CSS variable + fill
:root { --c: #b552d0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b552d0; background-color: #b552d0; bg-[#b552d0]