#a68bdc
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 | #a68bdc | |
| RGB | rgb(166 139 220) | |
| HSL | hsl(260 53.64% 70.39%) | |
| OKLCH | oklch(0.69 0.12 298.59) | |
| CMYK | cmyk(24.55% 36.82% 0% 13.73%) | |
| Android | #ffa68bdc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.34: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="#a68bdc"
Gradient stop
<stop stop-color="#a68bdc"/>
CSS variable + fill
:root { --c: #a68bdc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a68bdc; background-color: #a68bdc; bg-[#a68bdc]