#b239df
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 | #b239df | |
| RGB | rgb(178 57 223) | |
| HSL | hsl(283.73 72.17% 54.9%) | |
| OKLCH | oklch(0.59 0.24 314.88) | |
| CMYK | cmyk(20.18% 74.44% 0% 12.55%) | |
| Android | #ffb239df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass 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="#b239df"
Gradient stop
<stop stop-color="#b239df"/>
CSS variable + fill
:root { --c: #b239df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b239df; background-color: #b239df; bg-[#b239df]