#ab65cf
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 | #ab65cf | |
| RGB | rgb(171 101 207) | |
| HSL | hsl(279.62 52.48% 60.39%) | |
| OKLCH | oklch(0.63 0.17 313.01) | |
| CMYK | cmyk(17.39% 51.21% 0% 18.82%) | |
| Android | #ffab65cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.82:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.49: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="#ab65cf"
Gradient stop
<stop stop-color="#ab65cf"/>
CSS variable + fill
:root { --c: #ab65cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab65cf; background-color: #ab65cf; bg-[#ab65cf]