#882ccb
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 | #882ccb | |
| RGB | rgb(136 44 203) | |
| HSL | hsl(274.72 64.37% 48.43%) | |
| OKLCH | oklch(0.51 0.23 305.8) | |
| CMYK | cmyk(33% 78.33% 0% 20.39%) | |
| Android | #ff882ccb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.26: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="#882ccb"
Gradient stop
<stop stop-color="#882ccb"/>
CSS variable + fill
:root { --c: #882ccb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #882ccb; background-color: #882ccb; bg-[#882ccb]