#bc7bf5
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 | #bc7bf5 | |
| RGB | rgb(188 123 245) | |
| HSL | hsl(271.97 85.92% 72.16%) | |
| OKLCH | oklch(0.7 0.18 306.92) | |
| CMYK | cmyk(23.27% 49.8% 0% 3.92%) | |
| Android | #ffbc7bf5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.88:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.28: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="#bc7bf5"
Gradient stop
<stop stop-color="#bc7bf5"/>
CSS variable + fill
:root { --c: #bc7bf5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc7bf5; background-color: #bc7bf5; bg-[#bc7bf5]