#bc40dd
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 | #bc40dd | |
| RGB | rgb(188 64 221) | |
| HSL | hsl(287.39 69.78% 55.88%) | |
| OKLCH | oklch(0.61 0.24 318.26) | |
| CMYK | cmyk(14.93% 71.04% 0% 13.33%) | |
| Android | #ffbc40dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.27:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.91: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="#bc40dd"
Gradient stop
<stop stop-color="#bc40dd"/>
CSS variable + fill
:root { --c: #bc40dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc40dd; background-color: #bc40dd; bg-[#bc40dd]