#a282cc
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 | #a282cc | |
| RGB | rgb(162 130 204) | |
| HSL | hsl(265.95 42.05% 65.49%) | |
| OKLCH | oklch(0.66 0.11 303.38) | |
| CMYK | cmyk(20.59% 36.27% 0% 20%) | |
| Android | #ffa282cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.60: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="#a282cc"
Gradient stop
<stop stop-color="#a282cc"/>
CSS variable + fill
:root { --c: #a282cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a282cc; background-color: #a282cc; bg-[#a282cc]