#a54bc7
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 | #a54bc7 | |
| RGB | rgb(165 75 199) | |
| HSL | hsl(283.55 52.54% 53.73%) | |
| OKLCH | oklch(0.58 0.2 315.56) | |
| CMYK | cmyk(17.09% 62.31% 0% 21.96%) | |
| Android | #ffa54bc7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a54bc7"
Gradient stop
<stop stop-color="#a54bc7"/>
CSS variable + fill
:root { --c: #a54bc7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a54bc7; background-color: #a54bc7; bg-[#a54bc7]