#bf52d4
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 | #bf52d4 | |
| RGB | rgb(191 82 212) | |
| HSL | hsl(290.31 60.19% 57.65%) | |
| OKLCH | oklch(0.63 0.21 320.87) | |
| CMYK | cmyk(9.91% 61.32% 0% 16.86%) | |
| Android | #ffbf52d4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.90:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.37: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="#bf52d4"
Gradient stop
<stop stop-color="#bf52d4"/>
CSS variable + fill
:root { --c: #bf52d4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf52d4; background-color: #bf52d4; bg-[#bf52d4]