#a950eb
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 | #a950eb | |
| RGB | rgb(169 80 235) | |
| HSL | hsl(274.45 79.49% 61.76%) | |
| OKLCH | oklch(0.61 0.23 307.32) | |
| CMYK | cmyk(28.09% 65.96% 0% 7.84%) | |
| Android | #ffa950eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03: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="#a950eb"
Gradient stop
<stop stop-color="#a950eb"/>
CSS variable + fill
:root { --c: #a950eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a950eb; background-color: #a950eb; bg-[#a950eb]