#a65bfe
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 | #a65bfe | |
| RGB | rgb(166 91 254) | |
| HSL | hsl(267.61 98.79% 67.65%) | |
| OKLCH | oklch(0.64 0.23 301.17) | |
| CMYK | cmyk(34.65% 64.17% 0% 0.39%) | |
| Android | #ffa65bfe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#a65bfe"
Gradient stop
<stop stop-color="#a65bfe"/>
CSS variable + fill
:root { --c: #a65bfe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a65bfe; background-color: #a65bfe; bg-[#a65bfe]