#af6ffb
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 | #af6ffb | |
| RGB | rgb(175 111 251) | |
| HSL | hsl(267.43 94.59% 70.98%) | |
| OKLCH | oklch(0.67 0.2 302.35) | |
| CMYK | cmyk(30.28% 55.78% 0% 1.57%) | |
| Android | #ffaf6ffb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#af6ffb"
Gradient stop
<stop stop-color="#af6ffb"/>
CSS variable + fill
:root { --c: #af6ffb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af6ffb; background-color: #af6ffb; bg-[#af6ffb]