#bc42f0
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 | #bc42f0 | |
| RGB | rgb(188 66 240) | |
| HSL | hsl(282.07 85.29% 60%) | |
| OKLCH | oklch(0.63 0.25 313.52) | |
| CMYK | cmyk(21.67% 72.5% 0% 5.88%) | |
| Android | #ffbc42f0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#bc42f0"
Gradient stop
<stop stop-color="#bc42f0"/>
CSS variable + fill
:root { --c: #bc42f0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc42f0; background-color: #bc42f0; bg-[#bc42f0]