#a998f7
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 | #a998f7 | |
| RGB | rgb(169 152 247) | |
| HSL | hsl(250.74 85.59% 78.24%) | |
| OKLCH | oklch(0.73 0.14 290.87) | |
| CMYK | cmyk(31.58% 38.46% 0% 3.14%) | |
| Android | #ffa998f7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.52: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="#a998f7"
Gradient stop
<stop stop-color="#a998f7"/>
CSS variable + fill
:root { --c: #a998f7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a998f7; background-color: #a998f7; bg-[#a998f7]