#a24fed
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 | #a24fed | |
| RGB | rgb(162 79 237) | |
| HSL | hsl(271.52 81.44% 61.96%) | |
| OKLCH | oklch(0.61 0.23 304.49) | |
| CMYK | cmyk(31.65% 66.67% 0% 7.06%) | |
| Android | #ffa24fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.87: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="#a24fed"
Gradient stop
<stop stop-color="#a24fed"/>
CSS variable + fill
:root { --c: #a24fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a24fed; background-color: #a24fed; bg-[#a24fed]