#bc51da
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 | #bc51da | |
| RGB | rgb(188 81 218) | |
| HSL | hsl(286.86 64.93% 58.63%) | |
| OKLCH | oklch(0.63 0.22 318.17) | |
| CMYK | cmyk(13.76% 62.84% 0% 14.51%) | |
| Android | #ffbc51da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.94:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.32: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="#bc51da"
Gradient stop
<stop stop-color="#bc51da"/>
CSS variable + fill
:root { --c: #bc51da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bc51da; background-color: #bc51da; bg-[#bc51da]