#b231df
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 | #b231df | |
| RGB | rgb(178 49 223) | |
| HSL | hsl(284.48 73.11% 53.33%) | |
| OKLCH | oklch(0.59 0.25 315.25) | |
| CMYK | cmyk(20.18% 78.03% 0% 12.55%) | |
| Android | #ffb231df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b231df"
Gradient stop
<stop stop-color="#b231df"/>
CSS variable + fill
:root { --c: #b231df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b231df; background-color: #b231df; bg-[#b231df]