#a25cfd
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 | #a25cfd | |
| RGB | rgb(162 92 253) | |
| HSL | hsl(266.09 97.58% 67.65%) | |
| OKLCH | oklch(0.63 0.23 299.84) | |
| CMYK | cmyk(35.97% 63.64% 0% 0.78%) | |
| Android | #ffa25cfd |
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.48: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="#a25cfd"
Gradient stop
<stop stop-color="#a25cfd"/>
CSS variable + fill
:root { --c: #a25cfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a25cfd; background-color: #a25cfd; bg-[#a25cfd]