#a27ede
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 | #a27ede | |
| RGB | rgb(162 126 222) | |
| HSL | hsl(262.5 59.26% 68.24%) | |
| OKLCH | oklch(0.67 0.14 299.85) | |
| CMYK | cmyk(27.03% 43.24% 0% 12.94%) | |
| Android | #ffa27ede |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.57: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="#a27ede"
Gradient stop
<stop stop-color="#a27ede"/>
CSS variable + fill
:root { --c: #a27ede; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a27ede; background-color: #a27ede; bg-[#a27ede]