#bd96fd
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 | #bd96fd | |
| RGB | rgb(189 150 253) | |
| HSL | hsl(262.72 96.26% 79.02%) | |
| OKLCH | oklch(0.75 0.15 300.3) | |
| CMYK | cmyk(25.3% 40.71% 0% 0.78%) | |
| Android | #ffbd96fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.94: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="#bd96fd"
Gradient stop
<stop stop-color="#bd96fd"/>
CSS variable + fill
:root { --c: #bd96fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd96fd; background-color: #bd96fd; bg-[#bd96fd]