#8257ba
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 | #8257ba | |
| RGB | rgb(130 87 186) | |
| HSL | hsl(266.06 41.77% 53.53%) | |
| OKLCH | oklch(0.55 0.15 301.64) | |
| CMYK | cmyk(30.11% 53.23% 0% 27.06%) | |
| Android | #ff8257ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02: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="#8257ba"
Gradient stop
<stop stop-color="#8257ba"/>
CSS variable + fill
:root { --c: #8257ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8257ba; background-color: #8257ba; bg-[#8257ba]