#b237d5
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 | #b237d5 | |
| RGB | rgb(178 55 213) | |
| HSL | hsl(286.71 65.29% 52.55%) | |
| OKLCH | oklch(0.58 0.24 317.53) | |
| CMYK | cmyk(16.43% 74.18% 0% 16.47%) | |
| Android | #ffb237d5 |
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.40: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="#b237d5"
Gradient stop
<stop stop-color="#b237d5"/>
CSS variable + fill
:root { --c: #b237d5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b237d5; background-color: #b237d5; bg-[#b237d5]