#a25dfd
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 | #a25dfd | |
| RGB | rgb(162 93 253) | |
| HSL | hsl(265.88 97.56% 67.84%) | |
| OKLCH | oklch(0.63 0.23 299.71) | |
| CMYK | cmyk(35.97% 63.24% 0% 0.78%) | |
| Android | #ffa25dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#a25dfd"
Gradient stop
<stop stop-color="#a25dfd"/>
CSS variable + fill
:root { --c: #a25dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a25dfd; background-color: #a25dfd; bg-[#a25dfd]